libomp/.copr/Makefile
Tulio Magno Quites Machado Filho c29cb30511 Update to LLVM 17.0.0 RC1
This is also a squashed merge commit from upstream-snapshot (commit ID
294d9ace52) into rawhide whose most important commits from
upstream-snapshot are:

Konrad Kleine (19):
      Prepare for snapshot builds
      Fix download link
      Make download path for snapshot sources-easily adjustable
      Introduce version suffix for snapshot
      Attempt to fix RPM build error
      Fix version to include snapshot revision
      Fix RPM snapshot build for i386 and aarch64
      Use llvm_snapshot_version_suffix
      Regenerated patch from streamline branch
      Compile with DWARFv4
      Fix error with missing *.bc files
      Fix RPM build error about installed but unpacked *.bc files
      Remove files not found
      Fix RPM build error with i386
      Make libomp use the llvm-snapshot-builder
      Use %{llvm_snapshot_extra_source_tags} macro
      Merge remote-tracking branch 'origin/rawhide' into upstream-snapshot
      Fix unclosed %if
      Drop already landed patch

Nikita Popov (1):
      Package ompx.h

Timm Bäder (1):
      Don't ship nextgen libraries

Tom Stellard (5):
      Use correct suffix for shared objects
      Add new nextgen libraries
      libomptarget is no longer built on 32-bit arches
      Merge branch 'rawhide' of ssh://pkgs.fedoraproject.org/rpms/libomp into upstream-snapshot
      Install llvm-snapshot-builder from the current COPR project
2023-08-10 14:45:15 -03:00

17 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)