import libomp-10.0.1-1.module+el8.3.0+7459+90c24896
This commit is contained in:
parent
abc61205ac
commit
0a5e4480ad
|
@ -1 +1,2 @@
|
|||
SOURCES/openmp-9.0.1.src.tar.xz
|
||||
SOURCES/hans-gpg-key.asc
|
||||
SOURCES/openmp-10.0.1.src.tar.xz
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
b23687827cb69da01fb3ea1234b708ab604def22 SOURCES/openmp-9.0.1.src.tar.xz
|
||||
32fa4b0193960f05064f2ab31b5a89c7cf48a0b9 SOURCES/hans-gpg-key.asc
|
||||
5c7043bd0c4746a115edb38fe8e587d805b61d12 SOURCES/openmp-10.0.1.src.tar.xz
|
||||
|
|
|
@ -0,0 +1,39 @@
|
|||
diff --git a/runtime/test/lit.cfg b/runtime/test/lit.cfg
|
||||
index 8ff668a..8e15a38 100644
|
||||
--- a/runtime/test/lit.cfg
|
||||
+++ b/runtime/test/lit.cfg
|
||||
@@ -100,6 +100,13 @@ if config.operating_system == 'NetBSD':
|
||||
if config.operating_system in ['Linux', 'Windows']:
|
||||
config.available_features.add('affinity')
|
||||
|
||||
+import multiprocessing
|
||||
+try:
|
||||
+ if multiprocessing.cpu_count() > 1:
|
||||
+ config.available_features.add('multicpu')
|
||||
+except NotImplementedError:
|
||||
+ pass
|
||||
+
|
||||
# to run with icc INTEL_LICENSE_FILE must be set
|
||||
if 'INTEL_LICENSE_FILE' in os.environ:
|
||||
config.environment['INTEL_LICENSE_FILE'] = os.environ['INTEL_LICENSE_FILE']
|
||||
diff --git a/runtime/test/ompt/teams/parallel_team.c b/runtime/test/ompt/teams/parallel_team.c
|
||||
index 15d9b6c..96ce0d5 100644
|
||||
--- a/runtime/test/ompt/teams/parallel_team.c
|
||||
+++ b/runtime/test/ompt/teams/parallel_team.c
|
||||
@@ -1,5 +1,5 @@
|
||||
// RUN: %libomp-compile-and-run | %sort-threads | FileCheck %s
|
||||
-// REQUIRES: ompt
|
||||
+// REQUIRES: ompt, multicpu
|
||||
// UNSUPPORTED: gcc
|
||||
#include "callback.h"
|
||||
|
||||
diff --git a/runtime/test/ompt/teams/serial_teams.c b/runtime/test/ompt/teams/serial_teams.c
|
||||
index 64d0c89..abd3db5 100644
|
||||
--- a/runtime/test/ompt/teams/serial_teams.c
|
||||
+++ b/runtime/test/ompt/teams/serial_teams.c
|
||||
@@ -1,5 +1,5 @@
|
||||
// RUN: %libomp-compile-and-run | %sort-threads | FileCheck %s
|
||||
-// REQUIRES: ompt
|
||||
+// REQUIRES: ompt, multicpu
|
||||
// UNSUPPORTED: gcc
|
||||
#include "callback.h"
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
|||
#%%global rc_ver 3
|
||||
#%%global rc_ver 6
|
||||
%global baserelease 1
|
||||
%global libomp_srcdir openmp-%{version}%{?rc_ver:rc%{rc_ver}}.src
|
||||
|
||||
|
@ -10,17 +10,25 @@
|
|||
%endif
|
||||
|
||||
Name: libomp
|
||||
Version: 9.0.1
|
||||
Version: 10.0.1
|
||||
Release: %{baserelease}%{?rc_ver:.rc%{rc_ver}}%{?dist}
|
||||
Summary: OpenMP runtime for clang
|
||||
|
||||
License: NCSA
|
||||
URL: http://openmp.llvm.org
|
||||
Source0: http://%{?rc_ver:pre}releases.llvm.org/%{version}/%{?rc_ver:rc%{rc_ver}}/%{libomp_srcdir}.tar.xz
|
||||
%if 0%{?rc_ver:1}
|
||||
Source0: https://prereleases.llvm.org/%{version}/rc%{rc_ver}/%{libomp_srcdir}.tar.xz
|
||||
Source3: https://prereleases.llvm.org/%{version}/rc%{rc_ver}/%{libomp_srcdir}.tar.xz.sig
|
||||
%else
|
||||
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{libomp_srcdir}.tar.xz
|
||||
Source3: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/%{libomp_srcdir}.tar.xz.sig
|
||||
%endif
|
||||
Source1: run-lit-tests
|
||||
Source2: lit.fedora.cfg.py
|
||||
Source4: https://prereleases.llvm.org/%{version}/hans-gpg-key.asc
|
||||
|
||||
Patch0: 0001-CMake-Make-LIBOMP_HEADERS_INSTALL_PATH-a-cache-varia.patch
|
||||
Patch1: 99b03c1c18.patch
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: elfutils-libelf-devel
|
||||
|
@ -47,7 +55,7 @@ OpenMP header files.
|
|||
%package test
|
||||
Summary: OpenMP regression tests
|
||||
Requires: %{name}%{?isa} = %{version}
|
||||
Requires: %{name}-devel%{?isa} = %{version}
|
||||
Requires: %{name}-devel%{?isa} = %{version}-%{release}
|
||||
Requires: clang
|
||||
Requires: llvm
|
||||
Requires: gcc
|
||||
|
@ -58,7 +66,7 @@ Requires: python3-lit
|
|||
OpenMP regression tests
|
||||
|
||||
%prep
|
||||
%autosetup -n openmp-%{version}%{?rc_ver:rc%{rc_ver}}.src -p1
|
||||
%autosetup -n %{libomp_srcdir} -p1
|
||||
|
||||
%build
|
||||
mkdir -p _build
|
||||
|
@ -103,10 +111,16 @@ 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
|
||||
|
||||
# Remove static libraries with equivalent shared libraries
|
||||
rm -rf %{buildroot}%{_libdir}/libarcher_static.a
|
||||
|
||||
|
||||
%files
|
||||
%{_libdir}/libomp.so
|
||||
%{_libdir}/libomptarget.so
|
||||
%ifnarch %{arm}
|
||||
%{_libdir}/libarcher.so
|
||||
%endif
|
||||
%ifnarch %{arm} %{ix86}
|
||||
%{_libdir}/libomptarget.rtl.%{libomp_arch}.so
|
||||
%endif
|
||||
|
@ -123,6 +137,15 @@ install -m 0755 %{SOURCE1} %{buildroot}%{_libexecdir}/tests/libomp
|
|||
%{_libexecdir}/tests/libomp/
|
||||
|
||||
%changelog
|
||||
* 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 <tstellar@redhat.com> - 9.0.1-1
|
||||
- 9.0.1 Release
|
||||
|
||||
|
|
Loading…
Reference in New Issue