Make mlir use the llvm-snapshot-builder
This commit is contained in:
parent
4fd2cd92f2
commit
cde76c9b71
11
.copr/Makefile
Normal file
11
.copr/Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
# 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
|
||||
.PHONY: srpm
|
||||
srpm:
|
||||
dnf install -y dnf-plugins-core fedora-packager
|
||||
dnf copr enable -y --setopt=reposdir=/tmp/yum.repos.d @fedora-llvm-team/llvm-snapshot-builder
|
||||
dnf install -y --setopt=reposdir=/tmp/yum.repos.d llvm-snapshot-builder
|
||||
rpmdev-spectool --get-files --all --sourcedir mlir.spec
|
||||
rpmbuild -bs mlir.spec
|
||||
find $(shell rpm --eval "%{_srcrpmdir}") -name "*.src.rpm" -exec cp {} $(outdir) \;
|
Loading…
Reference in New Issue
Block a user