From 6f1c6010152d714c9b3f6e3b6044f5fce7620587 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 11 Aug 2021 20:30:55 +0000 Subject: [PATCH] 13.0.0-rc1 Release --- .gitignore | 2 ++ libomp.spec | 27 +++++++++++++++++++++++---- sources | 4 ++-- 3 files changed, 27 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 2cc6479..f7c949f 100644 --- a/.gitignore +++ b/.gitignore @@ -73,3 +73,5 @@ /openmp-12.0.1rc3.src.tar.xz.sig /openmp-12.0.1.src.tar.xz /openmp-12.0.1.src.tar.xz.sig +/openmp-13.0.0rc1.src.tar.xz +/openmp-13.0.0rc1.src.tar.xz.sig diff --git a/libomp.spec b/libomp.spec index f854e57..9779bf1 100644 --- a/libomp.spec +++ b/libomp.spec @@ -1,5 +1,5 @@ -%global libomp_version 12.0.1 -#global rc_ver 3 +%global libomp_version 13.0.0 +%global rc_ver 1 %global libomp_srcdir openmp-%{libomp_version}%{?rc_ver:rc%{rc_ver}}.src @@ -11,7 +11,7 @@ Name: libomp Version: %{libomp_version}%{?rc_ver:~rc%{rc_ver}} -Release: 2%{?dist} +Release: 1%{?dist} Summary: OpenMP runtime for clang License: NCSA @@ -37,6 +37,13 @@ BuildRequires: libffi-devel # For gpg source verification BuildRequires: gnupg2 +# The AMDGCN device RTL requires clang and llvm-link to build +BuildRequires: clang +BuildRequires: llvm + +# libomptarget needs the llvm cmake files +BuildRequires: llvm-devel + Requires: elfutils-libelf%{?isa} # libomp does not support s390x. @@ -76,6 +83,7 @@ OpenMP regression tests %cmake -GNinja \ -DLIBOMP_INSTALL_ALIASES=OFF \ + -DLLVM_DIR=%{_libdir}/cmake/llvm \ -DLIBOMP_HEADERS_INSTALL_PATH:PATH=%{_libdir}/clang/%{libomp_version}/include \ %if 0%{?__isa_bits} == 64 -DOPENMP_LIBDIR_SUFFIX=64 \ @@ -120,14 +128,22 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a %cmake_build --target check-openmp %files -%license LICENSE.txt +%license LICENSE.TXT %{_libdir}/libomp.so %ifnarch %{arm} %{_libdir}/libarcher.so %endif +%ifnarch %{ix86} %{arm} +%{_libdir}/libomptarget-amdgcn*.bc +%{_libdir}/libomptarget.rtl.amdgpu.so +%{_libdir}/libomptarget.rtl.cuda.so +%{_libdir}/libomptarget.rtl.%{libomp_arch}.so +%endif +%{_libdir}/libomptarget.so %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 @@ -141,6 +157,9 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a %{_libexecdir}/tests/libomp/ %changelog +* Mon Aug 09 2021 Tom Stellard - 13.0.0~rc1-1 +- 13.0.0-rc1 Release + * Thu Jul 22 2021 Fedora Release Engineering - 12.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 1f10a91..f9a1418 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (openmp-12.0.1.src.tar.xz) = 554edf032995cf80cfb6c878b26510b6c4df09e6bd4813934ea523ff8e121900a91ec59c3d83ee0ba390fb83bcaf6d137f7f6019958b444bdfe6a2b35c1c8d08 -SHA512 (openmp-12.0.1.src.tar.xz.sig) = 1e92ec1421f5bd4d7be0b3d5e62c21bdf2f79daccfd2713595cb4764fb67bfd4c40a2ea5c2a9fd33c8439a86fa862e6684b75134b57c3a53a7e582338530733e +SHA512 (openmp-13.0.0rc1.src.tar.xz) = b148948fa780c89f8578b142650b22d039058f9635f19179aaeeaf14b30765b34362aae0a02e683d284f48a24a4451426a47da29fe9f9f07a9919135ff8fd2c9 +SHA512 (openmp-13.0.0rc1.src.tar.xz.sig) = 33cdbbb043a47205cf15f6336e30fbb4e32a7104d20c03c4fe2425180a0b3fa2b6d3695d390e35e574d6b7fe3fe0c7ac29ccfb6434b8504c46e3ea791e6eeed6