import libomp-9.0.0-1.module+el8.2.0+4344+da5775f3

This commit is contained in:
CentOS Sources 2020-01-21 11:13:14 -05:00 committed by Stepan Oksanichenko
parent 8ebf6df793
commit ec484817f5
3 changed files with 16 additions and 11 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/openmp-8.0.0.src.tar.xz
SOURCES/openmp-9.0.0.src.tar.xz

View File

@ -1 +1 @@
90462a0f720a9a40ecbda9636c24d627b5dc05db SOURCES/openmp-8.0.0.src.tar.xz
53a17a74f23a2b6a24964cc3f6c1dd8a8e7d8eb3 SOURCES/openmp-9.0.0.src.tar.xz

View File

@ -1,4 +1,5 @@
#%%global rc_ver 4
#%%global rc_ver 3
%global baserelease 1
%global libomp_srcdir openmp-%{version}%{?rc_ver:rc%{rc_ver}}.src
@ -9,8 +10,8 @@
%endif
Name: libomp
Version: 8.0.0
Release: 1%{?rc_ver:.rc%{rc_ver}}%{?dist}
Version: 9.0.0
Release: %{baserelease}%{?rc_ver:.rc%{rc_ver}}%{?dist}
Summary: OpenMP runtime for clang
License: NCSA
@ -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,15 @@ install -m 0755 %{SOURCE1} %{buildroot}%{_libexecdir}/tests/libomp
%{_libexecdir}/tests/libomp/
%changelog
* 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
* Thu Jun 13 2019 sguelton@redhat.com - 8.0.1-0.1.rc2
- 8.0.1rc2 Release
* Mon Apr 29 2019 sguelton@redhat.com - 8.0.0-1
- 8.0.0 Release