import UBI libomp-18.1.8-1.module+el8.10.0+22061+3612b2ba

This commit is contained in:
eabdullin 2024-11-05 08:35:04 +00:00
parent 759f32df65
commit 3c68bd4a05
3 changed files with 41 additions and 14 deletions

4
.gitignore vendored
View File

@ -1,2 +1,2 @@
SOURCES/openmp-17.0.6.src.tar.xz SOURCES/openmp-18.1.8.src.tar.xz
SOURCES/openmp-17.0.6.src.tar.xz.sig SOURCES/openmp-18.1.8.src.tar.xz.sig

View File

@ -1,2 +1,2 @@
d633a8e324689c7bf20528c99b3130ba1796fe1d SOURCES/openmp-17.0.6.src.tar.xz 43ed949cb5e5360e3523d8ad93490402a3280fdc SOURCES/openmp-18.1.8.src.tar.xz
8354a371042267a121f2b4e27c03f74f9eeff994 SOURCES/openmp-17.0.6.src.tar.xz.sig 5215a51f89e1a3d6fc277b8b3d7063777af1a121 SOURCES/openmp-18.1.8.src.tar.xz.sig

View File

@ -5,19 +5,24 @@
%{llvm_sb} %{llvm_sb}
%endif %endif
%global maj_ver 17 %global maj_ver 18
%global libomp_version %{maj_ver}.0.6 %global min_ver 1
%global libomp_version %{maj_ver}.%{min_ver}.8
#global rc_ver 4 #global rc_ver 4
%global libomp_srcdir openmp-%{libomp_version}%{?rc_ver:rc%{rc_ver}}.src %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} %if %{with snapshot_build}
%undefine rc_ver %undefine rc_ver
%global maj_ver %{llvm_snapshot_version_major} %global maj_ver %{llvm_snapshot_version_major}
%global libomp_version %{llvm_snapshot_version} %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 %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 # Opt out of https://fedoraproject.org/wiki/Changes/fno-omit-frame-pointer
# https://bugzilla.redhat.com/show_bug.cgi?id=2158587 # https://bugzilla.redhat.com/show_bug.cgi?id=2158587
%undefine _include_frame_pointers %undefine _include_frame_pointers
@ -29,7 +34,7 @@
%endif %endif
Name: libomp Name: libomp
Version: %{libomp_version}%{?rc_ver:~rc%{rc_ver}} Version: %{libomp_version}%{?rc_ver:~rc%{rc_ver}}%{?llvm_snapshot_version_suffix:~%{llvm_snapshot_version_suffix}}
Release: 1%{?dist} Release: 1%{?dist}
Summary: OpenMP runtime for clang Summary: OpenMP runtime for clang
@ -66,11 +71,6 @@ BuildRequires: llvm-cmake-utils
Requires: elfutils-libelf%{?isa} Requires: elfutils-libelf%{?isa}
Obsoletes: libomp-test < 17.0.3
# libomp does not support s390x.
ExcludeArch: s390x
%description %description
OpenMP runtime for clang. OpenMP runtime for clang.
@ -131,14 +131,18 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a
%endif %endif
%ifnarch %{ix86} %{arm} %ifnarch %{ix86} %{arm}
# libomptarget is not supported on 32-bit systems. # 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.amdgpu.so.%{so_suffix}
%{_libdir}/libomptarget.rtl.cuda.so.%{so_suffix} %{_libdir}/libomptarget.rtl.cuda.so.%{so_suffix}
%{_libdir}/libomptarget.rtl.%{libomp_arch}.so.%{so_suffix} %{_libdir}/libomptarget.rtl.%{libomp_arch}.so.%{so_suffix}
%endif
%{_libdir}/libomptarget.so.%{so_suffix} %{_libdir}/libomptarget.so.%{so_suffix}
%endif %endif
%files devel %files devel
%{_prefix}/lib/clang/%{maj_ver}/include/omp.h %{_prefix}/lib/clang/%{maj_ver}/include/omp.h
%{_prefix}/lib/clang/%{maj_ver}/include/ompx.h
%ifnarch %{arm} %ifnarch %{arm}
%{_prefix}/lib/clang/%{maj_ver}/include/omp-tools.h %{_prefix}/lib/clang/%{maj_ver}/include/omp-tools.h
%{_prefix}/lib/clang/%{maj_ver}/include/ompt.h %{_prefix}/lib/clang/%{maj_ver}/include/ompt.h
@ -147,9 +151,12 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a
%{_libdir}/cmake/openmp/FindOpenMPTarget.cmake %{_libdir}/cmake/openmp/FindOpenMPTarget.cmake
%ifnarch %{ix86} %{arm} %ifnarch %{ix86} %{arm}
# libomptarget is not supported on 32-bit systems. # 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.amdgpu.so
%{_libdir}/libomptarget.rtl.cuda.so %{_libdir}/libomptarget.rtl.cuda.so
%{_libdir}/libomptarget.rtl.%{libomp_arch}.so %{_libdir}/libomptarget.rtl.%{libomp_arch}.so
%endif
%{_libdir}/libomptarget.devicertl.a %{_libdir}/libomptarget.devicertl.a
%{_libdir}/libomptarget-amdgpu-*.bc %{_libdir}/libomptarget-amdgpu-*.bc
%{_libdir}/libomptarget-nvptx-*.bc %{_libdir}/libomptarget-nvptx-*.bc
@ -157,6 +164,26 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a
%endif %endif
%changelog %changelog
* Tue Jul 09 2024 Tom Stellard <tstellar@redhat.com> - 18.1.8-1
- 18.1.8 Release
* Fri Mar 22 2024 Tom Stellard <tstellar@redhat.com> - 18.1.2-1
- 18.1.2 Release
* Wed Mar 13 2024 Tom Stellard <tstellar@redhat.com> - 18.1.1-1
- 18.1.1 Release
* Thu Feb 29 2024 Tom Stellard <tstellar@redhat.com> - 18.1.0~rc4-1
- 18.1.0-rc4 Release
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 17.0.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 17.0.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
%{?llvm_snapshot_changelog_entry}
* Wed Nov 29 2023 Nikita Popov <npopov@redhat.com> - 17.0.6-1 * Wed Nov 29 2023 Nikita Popov <npopov@redhat.com> - 17.0.6-1
- Update to LLVM 17.0.6 - Update to LLVM 17.0.6