import libomp-9.0.1-1.module+el8.2.0+5384+b1459bb7

This commit is contained in:
CentOS Sources 2020-04-28 04:54:34 -04:00 committed by Andrew Lukoshko
parent dab324426c
commit abc61205ac
3 changed files with 14 additions and 12 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/openmp-8.0.1.src.tar.xz
SOURCES/openmp-9.0.1.src.tar.xz

View File

@ -1 +1 @@
64fc83d7ba5be944835961827acad93fd36a9c0c SOURCES/openmp-8.0.1.src.tar.xz
b23687827cb69da01fb3ea1234b708ab604def22 SOURCES/openmp-9.0.1.src.tar.xz

View File

@ -1,4 +1,5 @@
#%%global rc_ver 2
#%%global rc_ver 3
%global baserelease 1
%global libomp_srcdir openmp-%{version}%{?rc_ver:rc%{rc_ver}}.src
@ -9,13 +10,13 @@
%endif
Name: libomp
Version: 8.0.1
Release: 1%{?rc_ver:.rc%{rc_ver}}%{?dist}
Version: 9.0.1
Release: %{baserelease}%{?rc_ver:.rc%{rc_ver}}%{?dist}
Summary: OpenMP runtime for clang
License: NCSA
URL: http://openmp.llvm.org
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}%{?rc_ver:-%{rc_ver}}/%{libomp_srcdir}.tar.xz
Source0: http://%{?rc_ver:pre}releases.llvm.org/%{version}/%{?rc_ver:rc%{rc_ver}}/%{libomp_srcdir}.tar.xz
Source1: run-lit-tests
Source2: lit.fedora.cfg.py
@ -88,12 +89,6 @@ install -d %{buildroot}%{libomp_srcdir}/runtime
cp -R runtime/test %{buildroot}%{libomp_srcdir}/runtime
cp -R runtime/src %{buildroot}%{libomp_srcdir}/runtime
# Add symlinks to the libomp headers/library so gcc can find them.
ln -s %{_libdir}/clang/%{version}/include/omp.h %{buildroot}%{libomp_testdir}/omp.h
ln -s %{_libdir}/clang/%{version}/include/ompt.h %{buildroot}%{libomp_testdir}/ompt.h
ln -s %{_libdir}/clang/%{version}/include/omp-tools.h %{buildroot}%{libomp_testdir}/omp-tools.h
ln -s %{_libdir}/libomp.so %{buildroot}%{libomp_testdir}/libgomp.so
# Generate lit config files. Strip off the last line that initiates the
# test run, so we can customize the configuration.
head -n -1 _build/runtime/test/lit.site.cfg >> %{buildroot}%{lit_cfg}
@ -108,6 +103,7 @@ echo "lit_config.load_config(config, '%{lit_fedora_cfg}')" >> %{buildroot}%{lit_
install -d %{buildroot}%{_libexecdir}/tests/libomp
install -m 0755 %{SOURCE1} %{buildroot}%{_libexecdir}/tests/libomp
%files
%{_libdir}/libomp.so
%{_libdir}/libomptarget.so
@ -127,6 +123,12 @@ install -m 0755 %{SOURCE1} %{buildroot}%{_libexecdir}/tests/libomp
%{_libexecdir}/tests/libomp/
%changelog
* Thu Dec 19 2019 Tom Stellard <tstellar@redhat.com> - 9.0.1-1
- 9.0.1 Release
* Fri Sep 27 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-1
- 9.0.0 Release
* Thu Aug 1 2019 sguelton@redhat.com - 8.0.1-1
- 8.0.1 release