From 022609d138c25ec177c069dca0cb7e931340deb4 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 16 May 2023 06:07:25 +0000 Subject: [PATCH] import libomp-15.0.7-1.module+el8.8.0+17939+b58878af --- .gitignore | 2 + .libomp.metadata | 2 + SOURCES/lit.fedora.cfg.py | 15 ++ SOURCES/openmp-15.0.7.src.tar.xz.sig | Bin 0 -> 566 bytes SOURCES/run-lit-tests | 63 ++++++ SPECS/libomp.spec | 286 +++++++++++++++++++++++++++ 6 files changed, 368 insertions(+) create mode 100644 .gitignore create mode 100644 .libomp.metadata create mode 100644 SOURCES/lit.fedora.cfg.py create mode 100644 SOURCES/openmp-15.0.7.src.tar.xz.sig create mode 100644 SOURCES/run-lit-tests create mode 100644 SPECS/libomp.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5bfb61d --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +SOURCES/openmp-15.0.7.src.tar.xz +SOURCES/release-keys.asc diff --git a/.libomp.metadata b/.libomp.metadata new file mode 100644 index 0000000..a7af112 --- /dev/null +++ b/.libomp.metadata @@ -0,0 +1,2 @@ +d8a0b4314a65a4ad3a82fbcbc59876cfcf09c95b SOURCES/openmp-15.0.7.src.tar.xz +347bdd5ee6d6b93c9644c268511815912c0fb2dc SOURCES/release-keys.asc diff --git a/SOURCES/lit.fedora.cfg.py b/SOURCES/lit.fedora.cfg.py new file mode 100644 index 0000000..fe0fa89 --- /dev/null +++ b/SOURCES/lit.fedora.cfg.py @@ -0,0 +1,15 @@ +import tempfile + +compiler = '%(libomp_compiler)s' % lit_config.params +config.test_filecheck = '%(bindir)s/FileCheck' % lit_config.params +config.omp_header_directory = '%(includedir)s' % lit_config.params +config.libomp_obj_root = tempfile.mkdtemp() +config.library_dir = '%(libdir)s' % lit_config.params +test_root = '%(libomp_test_root)s' % lit_config.params + +# Lit will default to the compiler used to build openmp, which is gcc, but we +# want to run the tests using clang. +config.test_compiler_features = ['clang', 'clang-11'] +config.test_c_compiler = 'clang' +config.test_cxx_compiler = 'clang++' +lit_config.load_config(config, '%(libomp_test_root)s/lit.cfg' % lit_config.params) diff --git a/SOURCES/openmp-15.0.7.src.tar.xz.sig b/SOURCES/openmp-15.0.7.src.tar.xz.sig new file mode 100644 index 0000000000000000000000000000000000000000..731d3acba80d6baca3728a3fccea493cde03583a GIT binary patch literal 566 zcmV-60?GY}0y6{v0SEvc79j*jP9iaCzek0rjBbvi$CRmtL7j>P0%O0rLI4U05TeJF zsfIzFio1*t|8UFAlGr}qZLE9gtrGRzZDc55B;Ctu zB>klcbXD4#&nsUQuQ@s&^@X9}Xhms%K~(X9wEI6_)ihrLC3S$=<5Nwlb0e7fOcZM> zD;Pt_HZ7buW@bqsA$V5fHJ;()(gN%sHOt@pM>*rPjMuuDTn}x4?M(MZfhosA>vU-u zkJ!M4T%zRilkrhKwL?;Gs{y_@E8Pq<)JL$%jR{*#fH#G}>9h!EpzzD(FwNVhGYD_Q z6w3BV+WLlj?ypvth2=04q*`>mHO-uR2?9DbI4_`*!UbY`&iEy?@&qgCg_qpOouT{K#T-?)2=bhfU4xZH^-A2P^wDZTxv&w z@+US3{P}6PeeJv*h8t}Q7O9Aqqmpw}SVWhmj!y*Z%tqJM> %{buildroot}%{lit_cfg} + +# Install custom fedora config file +cp %{SOURCE4} %{buildroot}%{lit_fedora_cfg} + +# Patch lit config files to load custom fedora config +echo "lit_config.load_config(config, '%{lit_fedora_cfg}')" >> %{buildroot}%{lit_cfg} + +# Install test script +install -d %{buildroot}%{_libexecdir}/tests/libomp +install -m 0755 %{SOURCE3} %{buildroot}%{_libexecdir}/tests/libomp + +%endif + +# Remove static libraries with equivalent shared libraries +rm -rf %{buildroot}%{_libdir}/libarcher_static.a + +%check +cd %{_vpath_builddir} +%cmake_build --target check-openmp || true + +%files +%license LICENSE.TXT +%{_libdir}/libomp.so +%{_libdir}/libompd.so +%ifnarch %{arm} +%{_libdir}/libarcher.so +%endif +%ifnarch %{ix86} %{arm} +%{_libdir}/libomptarget.rtl.amdgpu.so.%{maj_ver} +%{_libdir}/libomptarget.rtl.cuda.so.%{maj_ver} +%{_libdir}/libomptarget.rtl.%{libomp_arch}.so.%{maj_ver} +%endif +%{_libdir}/libomptarget.so.%{maj_ver} + +%files devel +%{_libdir}/clang/%{libomp_version}/include/omp.h +%{_libdir}/cmake/openmp/FindOpenMPTarget.cmake +%ifnarch %{arm} +%{_libdir}/clang/%{libomp_version}/include/omp-tools.h +%{_libdir}/clang/%{libomp_version}/include/ompt.h +%{_libdir}/clang/%{libomp_version}/include/ompt-multiplex.h +%endif +%ifnarch %{ix86} %{arm} +%{_libdir}/libomptarget.rtl.amdgpu.so +%{_libdir}/libomptarget.rtl.cuda.so +%{_libdir}/libomptarget.rtl.%{libomp_arch}.so +%{_libdir}/libomptarget.devicertl.a +%{_libdir}/libomptarget-amdgpu-*.bc +%{_libdir}/libomptarget-nvptx-*.bc +%endif +%{_libdir}/libomptarget.so + +%if %{with testpkg} +%files test +%{_datadir}/libomp +%{_libexecdir}/tests/libomp/ +%endif + +%changelog +* Thu Jan 19 2023 Tom Stellard - 15.0.7-1 +- Update to LLVM 15.0.7 + +* Tue Sep 06 2022 Nikita Popov - 15.0.0-1 +- Update to LLVM 15.0.0 + +* Wed Aug 10 2022 Tom Stellard - 14.0.6-2 +- Drop -test sub-package on i686 + +* Tue Jun 28 2022 Tom Stellard - 14.0.6-1 +- 14.0.6 Release + +* Wed May 18 2022 Timm Bäder - 14.00-2 +- Backport 40d3a0ba4d9e5452c0a68cfdaa8e88eb8ed5c63d to + fix a strict aliasing issue. + +* Thu Apr 07 2022 Timm Bäder - 14.0.0-1 +- Update to 14.0.0 + +* Thu Feb 03 2022 Tom Stellard - 13.0.1-1 +- 13.0.1 Release + +* Fri Oct 15 2021 Tom Stellard - 13.0.0-1 +- 13.0.0 Release + +* Fri Jul 16 2021 sguelton@redhat.com - 12.0.1-1 +- 12.0.1 release + +* Thu May 6 2021 sguelton@redhat.com - 12.0.0-1 +- 12.0.0 release + +* Thu Oct 29 2020 sguelton@redhat.com - 11.0.0-1 +- 11.0.0 final release + +* Mon Sep 21 2020 sguelton@redhat.com - 11.0.0-0.1.rc2 +- 11.0.0-rc2 Release + +* Fri Jul 24 2020 sguelton@redhat.com - 10.0.1-1 +- 10.0.1 final + +* Mon Jun 15 2020 sguelton@redhat.com - 10.0.0-2 +- Better dependency specification, see rhbz#1841180 + +* Thu Apr 9 2020 sguelton@redhat.com - 10.0.0-1 +- 10.0.0 final + +* Thu Dec 19 2019 Tom Stellard - 9.0.1-1 +- 9.0.1 Release + +* Fri Sep 27 2019 Tom Stellard - 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 + +* Fri Dec 14 2018 Tom Stellard - 7.0.1-1 +- 7.0.1 Release + +* Wed Dec 12 2018 Tom Stellard - 7.0.1-0.2.rc3 +- Fix test failures on single-core systems + +* Mon Dec 10 2018 Tom Stellard - 7.0.1-0.1.rc3 +- 7.0.1-rc3 Release + +* Tue Nov 27 2018 Tom Stellard - 7.0.0-1 +- 7.0.0 Release + +* Sat Nov 10 2018 Tom Stellard - 6.0.1-3 +- Don't build libomp-test on i686 + +* Mon Oct 01 2018 Tom Stellard - 6.0.1-2 +- Drop scl macros + +* Wed Jul 11 2018 Tom Stellard - 6.0.1-1 +- 6.0.1 Release + +* Mon Jan 15 2018 Tom Stellard - 5.0.1-2 +- Drop ExcludeArch: ppc64 + +* Thu Dec 21 2017 Tom Stellard - 5.0.1-1 +- 5.0.1 Release. + +* Wed Jun 21 2017 Tom Stellard - 4.0.1-1 +- 4.0.1 Release. + +* Wed Jun 07 2017 Tom Stellard - 4.0.0-3 +- Rename libopenmp->libomp + +* Fri May 26 2017 Tom Stellard - 4.0.0-2 +- Disable build on s390x + +* Mon May 15 2017 Tom Stellard - 4.0.0-1 +- Initial version.