diff --git a/libomp.spec b/libomp.spec index a85ccd4..e32e85d 100644 --- a/libomp.spec +++ b/libomp.spec @@ -5,19 +5,22 @@ %{llvm_sb} %endif -%global maj_ver 17 -%global libomp_version %{maj_ver}.0.6 +%global maj_ver 18 +%global min_ver 1 +%global libomp_version %{maj_ver}.%{min_ver}.2 #global rc_ver 4 %global libomp_srcdir openmp-%{libomp_version}%{?rc_ver:rc%{rc_ver}}.src -%global so_suffix %{maj_ver} +%global so_suffix %{maj_ver}.%{min_ver} %if %{with snapshot_build} %undefine rc_ver %global maj_ver %{llvm_snapshot_version_major} %global libomp_version %{llvm_snapshot_version} -%global so_suffix %{maj_ver}%{llvm_snapshot_version_suffix} +%global so_suffix %{maj_ver}.%{min_ver}%{llvm_snapshot_version_suffix} %endif +%global libomp_srcdir openmp-%{libomp_version}%{?rc_ver:rc%{rc_ver}}.src + %global toolchain clang # Opt out of https://fedoraproject.org/wiki/Changes/fno-omit-frame-pointer @@ -32,7 +35,7 @@ Name: libomp Version: %{libomp_version}%{?rc_ver:~rc%{rc_ver}}%{?llvm_snapshot_version_suffix:~%{llvm_snapshot_version_suffix}} -Release: 3%{?dist} +Release: 1%{?dist} Summary: OpenMP runtime for clang License: Apache-2.0 WITH LLVM-exception OR NCSA @@ -66,7 +69,7 @@ BuildRequires: llvm-cmake-utils Requires: elfutils-libelf%{?isa} -# libomp does not support s390x. +# Support for s390x is new. There is on-going stabilization upstream. ExcludeArch: s390x %description @@ -123,14 +126,18 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a %endif %ifnarch %{ix86} %{arm} # libomptarget is not supported on 32-bit systems. +# s390x does not support the offloading plugins. +%ifnarch s390x %{_libdir}/libomptarget.rtl.amdgpu.so.%{so_suffix} %{_libdir}/libomptarget.rtl.cuda.so.%{so_suffix} %{_libdir}/libomptarget.rtl.%{libomp_arch}.so.%{so_suffix} +%endif %{_libdir}/libomptarget.so.%{so_suffix} %endif %files devel %{_prefix}/lib/clang/%{maj_ver}/include/omp.h +%{_prefix}/lib/clang/%{maj_ver}/include/ompx.h %ifnarch %{arm} %{_prefix}/lib/clang/%{maj_ver}/include/omp-tools.h %{_prefix}/lib/clang/%{maj_ver}/include/ompt.h @@ -139,9 +146,12 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a %{_libdir}/cmake/openmp/FindOpenMPTarget.cmake %ifnarch %{ix86} %{arm} # libomptarget is not supported on 32-bit systems. +# s390x does not support the offloading plugins. +%ifnarch s390x %{_libdir}/libomptarget.rtl.amdgpu.so %{_libdir}/libomptarget.rtl.cuda.so %{_libdir}/libomptarget.rtl.%{libomp_arch}.so +%endif %{_libdir}/libomptarget.devicertl.a %{_libdir}/libomptarget-amdgpu-*.bc %{_libdir}/libomptarget-nvptx-*.bc @@ -149,6 +159,9 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a %endif %changelog +* Wed Apr 03 2024 Tulio Magno Quites Machado Filho - 18.1.2-1 +- Update to LLVM 18.1.2 (RHEL-27724) + * Thu Jan 25 2024 Fedora Release Engineering - 17.0.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild diff --git a/sources b/sources index 10a82f6..d4bfd59 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (openmp-17.0.6.src.tar.xz) = 836c48db873e3da64835913c2c1d80efaebdfc7061f153acc7b478ea0d73b9c546a09d70dd1465e3e92684947c4a9cb197886b29cbd42418a778faa56b08cc5e -SHA512 (openmp-17.0.6.src.tar.xz.sig) = 58fb951620d3494e016f0eeefb1cd28d86eb9ecc7894163ed96e8818573f6ed6b6f58d63884799fd052c943e5a63dec39193039f8499b99a55bfd8316c24a55f +SHA512 (openmp-18.1.2.src.tar.xz) = 420129104082a3ab88fdb0a8cc168b2d488de0f6fae909f056a01ad4d845c73d360b7a9bc729624e86edbc679a9656a4bb1620c9b0b740f146be22a9a1bce019 +SHA512 (openmp-18.1.2.src.tar.xz.sig) = dc0cab3350d275f38f5137c96c7ce532a740a4f954dff031af22c1d55c4e5739b8e3c245c489c3e276eca65927a48c53df044ce5c288a743b05686f01ead4627