mirror of
https://src.fedoraproject.org/rpms/libomp.git
synced 2024-11-28 09:14:55 +00:00
Make libomp use the llvm-snapshot-builder
This commit is contained in:
parent
fd571ca5e6
commit
3f6528b350
2 changed files with 19 additions and 0 deletions
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 libomp.spec
|
||||
rpmbuild -bs libomp.spec
|
||||
find $(shell rpm --eval "%{_srcrpmdir}") -name "*.src.rpm" -exec cp {} $(outdir) \;
|
|
@ -1,3 +1,11 @@
|
|||
%bcond_without snapshot_build
|
||||
|
||||
%if %{with snapshot_build}
|
||||
# Unlock LLVM Snapshot LUA functions
|
||||
%{llvm_sb_verbose}
|
||||
%{llvm_sb}
|
||||
%endif
|
||||
|
||||
%global libomp_version 13.0.1
|
||||
%global rc_ver 1
|
||||
%global libomp_srcdir openmp-%{libomp_version}%{?rc_ver:rc%{rc_ver}}.src
|
||||
|
|
Loading…
Reference in a new issue