d423f98be3
This is also a squashed merge commit from upstream-snapshot (commit ID b0d2b4ed0ad18d3e) into rawhide whose most important commits from upstream-snapshot are: Konrad Kleine (19): Add --without=check option Rework compiler-rt Rebase 0001-PATCH-compiler-rt-Workaround-libstdc-limitation-wrt..patch patch Make download path for snapshot sources-easily adjustable Help compiler-rt utilize llvm-cmake subpackage Help compiler-rt to find llvm-cmake files Adapt to reverted https://reviews.llvm.org/D88458 Revert "Adapt to reverted https://reviews.llvm.org/D88458" Require llvm-cmake-devel package when building Adjust the CMAKE_MODULE_PATH instead of patching the source Use new llvm_snashot_changelog_entry macro Use llvm_snapshot_version_suffix Compile with DWARFv4 Merge remote-tracking branch 'upstream/rawhide' into upstream-snapshot Tempoarily remove build dependency on cmake-devel and the packaged cmake directory Make compiler-rt use the llvm-snapshot-builder Use %{llvm_snapshot_extra_source_tags} macro Fixup Merge remote-tracking branch 'origin/main' into upstream-snapshot Tom Stellard (9): Add a patch to fix standalone buidls with compiler-rt Fix typo Handle rename of libclang_rt.orc to liborc_rt liborc_rt is not built on i386 liborc_rt is not built on s390x or ppc64le Merge branch 'rawhide' of ssh://pkgs.fedoraproject.org/rpms/compiler-rt into upstream-snapshot Install llvm-snapshot-builder from the current COPR project Try again to enable local copr repo Use new per-target runtime install feature Tulio Magno Quites Machado Filho (1): Fix packaging on ppc64le and s390x
18 lines
649 B
Makefile
18 lines
649 B
Makefile
# See https://docs.pagure.org/copr.copr/user_documentation.html#make-srpm
|
|
# See for the --setopt option in the enabling of copr repo see:
|
|
# https://pagure.io/copr/copr/issue/184
|
|
|
|
COPR_USERNAME=$(shell rpm --eval %copr_username)
|
|
COPR_PROJECT=$(shell rpm --eval %copr_projectname)
|
|
|
|
.PHONY: srpm
|
|
srpm:
|
|
dnf install -y dnf-plugins-core fedora-packager
|
|
dnf copr enable -y --setopt=reposdir=/tmp/yum.repos.d $(COPR_USERNAME)/$(COPR_PROJECT)
|
|
dnf install -y --setopt=reposdir=/tmp/yum.repos.d llvm-snapshot-builder
|
|
rpmbuild \
|
|
--define "_srcrpmdir $(outdir)" \
|
|
--define "_sourcedir $(shell pwd)" \
|
|
--define "_disable_source_fetch 0" \
|
|
-bs $(spec)
|