Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
310bc988f6 | ||
|
144c51c879 | ||
|
17f96f1542 | ||
|
1ea30b63c7 | ||
|
c7870d08b0 |
@ -1 +0,0 @@
|
|||||||
1
|
|
10
.gitignore
vendored
10
.gitignore
vendored
@ -1,3 +1,7 @@
|
|||||||
/*.tar.xz
|
/openmp-5.0.0.src.tar.xz
|
||||||
/*.tar.xz.sig
|
/openmp-5.0.1.src.tar.xz
|
||||||
/*.src.rpm
|
/openmp-6.0.0rc1.src.tar.xz
|
||||||
|
/openmp-6.0.0rc2.src.tar.xz
|
||||||
|
/openmp-6.0.0.src.tar.xz
|
||||||
|
/openmp-6.0.1rc1.src.tar.xz
|
||||||
|
/openmp-6.0.1.src.tar.xz
|
||||||
|
@ -0,0 +1,27 @@
|
|||||||
|
From e167844878416cd7e7ab9eee58f1ce56650b56f1 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Tom Stellard <tstellar@redhat.com>
|
||||||
|
Date: Tue, 16 May 2017 11:52:19 -0400
|
||||||
|
Subject: [PATCH] CMake: Make LIBOMP_HEADERS_INSTALL_PATH a cache variable when
|
||||||
|
bulding standalone
|
||||||
|
|
||||||
|
This way it can be overriden on the command line.
|
||||||
|
---
|
||||||
|
runtime/src/CMakeLists.txt | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/runtime/src/CMakeLists.txt b/runtime/src/CMakeLists.txt
|
||||||
|
index 8545fe2..9312721 100644
|
||||||
|
--- a/runtime/src/CMakeLists.txt
|
||||||
|
+++ b/runtime/src/CMakeLists.txt
|
||||||
|
@@ -282,7 +282,7 @@ add_dependencies(libomp-micro-tests libomp-test-deps)
|
||||||
|
# We want to install libomp in DESTDIR/CMAKE_INSTALL_PREFIX/lib
|
||||||
|
# We want to install headers in DESTDIR/CMAKE_INSTALL_PREFIX/include
|
||||||
|
if(${OPENMP_STANDALONE_BUILD})
|
||||||
|
- set(LIBOMP_HEADERS_INSTALL_PATH include)
|
||||||
|
+ set(LIBOMP_HEADERS_INSTALL_PATH include CACHE PATH "Install path for OpenMP headers")
|
||||||
|
else()
|
||||||
|
string(REGEX MATCH "[0-9]+\\.[0-9]+(\\.[0-9]+)?" CLANG_VERSION ${PACKAGE_VERSION})
|
||||||
|
set(LIBOMP_HEADERS_INSTALL_PATH lib${OPENMP_LIBDIR_SUFFIX}/clang/${CLANG_VERSION}/include)
|
||||||
|
--
|
||||||
|
1.8.3.1
|
||||||
|
|
12
gating.yaml
12
gating.yaml
@ -1,12 +0,0 @@
|
|||||||
--- !Policy
|
|
||||||
product_versions:
|
|
||||||
- fedora-*
|
|
||||||
decision_context: bodhi_update_push_testing
|
|
||||||
rules:
|
|
||||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
|
||||||
--- !Policy
|
|
||||||
product_versions:
|
|
||||||
- fedora-*
|
|
||||||
decision_context: bodhi_update_push_stable
|
|
||||||
rules:
|
|
||||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
|
@ -1,52 +0,0 @@
|
|||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
||||||
|
|
||||||
mQINBFS+1SABEACnmkESkY7eZq0GhDjbkWpKmURGk9+ycsfAhA44NqUvf4tk1GPM
|
|
||||||
5SkJ/fYedYZJaDVhIp98fHgucD0O+vjOzghtgwtITusYjiPHPFBd/MN+MQqSEAP+
|
|
||||||
LUa/kjHLjgyXxKhFUIDGVaDWL5tKOA7/AQKl1TyJ8lz89NHQoUHFsF/hu10+qhJe
|
|
||||||
V65d32MXFehIUSvegh8DrPuExrliSiORO4HOhuc6151dWA4YBWVg4rX5kfKrGMMT
|
|
||||||
pTWnSSZtgoRhkKW2Ey8cmZUqPuUJIfWyeNVu1e4SFtAivLvu/Ymz2WBJcNA1ZlTr
|
|
||||||
RCOR5SIRgZ453pQnI/Bzna2nnJ/TV1gGJIGRahj/ini0cs2x1CILfS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|
||||||
EDJown0dABEBAAGJAjwEGAECACYCGwwWIQS2yPmCgrlE47DVwlMPwwQuNFrQXQUC
|
|
||||||
Wl36SwUJDwUmqwAKCRAPwwQuNFrQXT1/D/9YpRDNgaJl3YVDtVZoeQwh7BQ6ULZT
|
|
||||||
eXFPogYkF2j3VWg8s9UmAs4sg/4a+9KLSantXjX+JFsRv0lQe5Gr/Vl8VQ4LKEXB
|
|
||||||
fiGmSivjIZ7eopdd3YP2w6G5T3SA4d2CQfsg4rnJPnXIjzKNiSOi368ybnt9fL0Y
|
|
||||||
2r2aqLTmP6Y7issDUO+J1TW1XHm349JPR0Hl4cTuNnWm4JuX2m2CJEc5XBlDAha9
|
|
||||||
pUVs+J5C2D0UFFkyeOzeJPwy6x5ApWHm84n8AjhQSpu1qRKxKXdwei6tkQWWMHui
|
|
||||||
+TgSY/zCkmD9/oY15Ei5avJ4WgIbTLJUoZMi70riPmU8ThjpzA7S+Nk0g7rMPq+X
|
|
||||||
l1whjKU/u0udlsrIJjzkh6ftqKUmIkbxYTpjhnEujNrEr5m2S6Z6x3y9E5QagBMR
|
|
||||||
dxRhfk+HbyACcP/p9rXOzl4M291DoKeAAH70GHniGxyNs9rAoMr/hD5XW/Wrz3dc
|
|
||||||
KMc2s555E6MZILE2ZiolcRn+bYOMPZtWlbx98t8uqMf49gY4FGQBZAwPglMrx7mr
|
|
||||||
m7HTIiXahThQGOJg6izJDAD5RwSEGlAcL28T8KAuM6CLLkhlBfQwiKsUBNnh9r8w
|
|
||||||
V3lB+pV0GhL+3i077gTYfZBRwLzjFdhm9xUKEaZ6rN1BX9lzix4eSNK5nln0jUq1
|
|
||||||
67H2IH//2sf8dw==
|
|
||||||
=ADVe
|
|
||||||
-----END PGP PUBLIC KEY BLOCK-----
|
|
424
libomp.spec
424
libomp.spec
@ -1,16 +1,3 @@
|
|||||||
%global toolchain clang
|
|
||||||
|
|
||||||
# Opt out of https://fedoraproject.org/wiki/Changes/fno-omit-frame-pointer
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2158587
|
|
||||||
%undefine _include_frame_pointers
|
|
||||||
|
|
||||||
%global maj_ver 16
|
|
||||||
%global libomp_version %{maj_ver}.0.1
|
|
||||||
#global rc_ver 4
|
|
||||||
%global libomp_srcdir openmp-%{libomp_version}%{?rc_ver:rc%{rc_ver}}.src
|
|
||||||
%global cmake_srcdir cmake-%{libomp_version}%{?rc_ver:rc%{rc_ver}}.src
|
|
||||||
|
|
||||||
|
|
||||||
%ifarch ppc64le
|
%ifarch ppc64le
|
||||||
%global libomp_arch ppc64
|
%global libomp_arch ppc64
|
||||||
%else
|
%else
|
||||||
@ -18,37 +5,24 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: libomp
|
Name: libomp
|
||||||
Version: %{libomp_version}%{?rc_ver:~rc%{rc_ver}}
|
Version: 6.0.1
|
||||||
Release: 3%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: OpenMP runtime for clang
|
Summary: OpenMP runtime for clang
|
||||||
|
|
||||||
License: Apache-2.0 WITH LLVM-exception OR NCSA
|
License: NCSA
|
||||||
URL: http://openmp.llvm.org
|
URL: http://openmp.llvm.org
|
||||||
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{libomp_version}%{?rc_ver:-rc%{rc_ver}}/%{libomp_srcdir}.tar.xz
|
Source0: http://llvm.org/releases/%{version}/openmp-%{version}%{?rc_ver:rc%{rc_ver}}.src.tar.xz
|
||||||
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{libomp_version}%{?rc_ver:-rc%{rc_ver}}/%{libomp_srcdir}.tar.xz.sig
|
Source1: runtest.sh
|
||||||
Source2: release-keys.asc
|
|
||||||
Source3: run-lit-tests
|
Patch0: 0001-CMake-Make-LIBOMP_HEADERS_INSTALL_PATH-a-cache-varia.patch
|
||||||
Source4: lit.fedora.cfg.py
|
|
||||||
Source5: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{libomp_version}%{?rc_ver:-rc%{rc_ver}}/%{cmake_srcdir}.tar.xz
|
|
||||||
Source6: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{libomp_version}%{?rc_ver:-rc%{rc_ver}}/%{cmake_srcdir}.tar.xz.sig
|
|
||||||
|
|
||||||
BuildRequires: clang
|
|
||||||
# For clang-offload-packager
|
|
||||||
BuildRequires: clang-tools-extra
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: ninja-build
|
|
||||||
BuildRequires: elfutils-libelf-devel
|
BuildRequires: elfutils-libelf-devel
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-Data-Dumper
|
BuildRequires: perl-Data-Dumper
|
||||||
BuildRequires: perl-Encode
|
BuildRequires: perl-Encode
|
||||||
BuildRequires: libffi-devel
|
BuildRequires: libffi-devel
|
||||||
|
|
||||||
# For gpg source verification
|
|
||||||
BuildRequires: gnupg2
|
|
||||||
|
|
||||||
# libomptarget needs the llvm cmake files
|
|
||||||
BuildRequires: llvm-devel
|
|
||||||
|
|
||||||
Requires: elfutils-libelf%{?isa}
|
Requires: elfutils-libelf%{?isa}
|
||||||
|
|
||||||
# libomp does not support s390x.
|
# libomp does not support s390x.
|
||||||
@ -59,397 +33,103 @@ OpenMP runtime for clang.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: OpenMP header files
|
Summary: OpenMP header files
|
||||||
Requires: %{name}%{?isa} = %{version}-%{release}
|
Requires: clang-devel%{?isa} = %{version}
|
||||||
Requires: clang-resource-filesystem%{?isa} = %{version}
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
OpenMP header files.
|
OpenMP header files.
|
||||||
|
|
||||||
%package test
|
%package test
|
||||||
Summary: OpenMP regression tests
|
Summary: OpenMP regression tests
|
||||||
Requires: %{name}%{?isa} = %{version}-%{release}
|
Requires: %{name}%{?isa} = %{version}
|
||||||
Requires: %{name}-devel%{?isa} = %{version}-%{release}
|
Requires: %{name}-devel%{?isa} = %{version}
|
||||||
Requires: clang
|
Requires: clang
|
||||||
Requires: llvm
|
Requires: llvm
|
||||||
|
Requires: gcc
|
||||||
|
Requires: gcc-c++
|
||||||
Requires: python3-lit
|
Requires: python3-lit
|
||||||
|
|
||||||
%description test
|
%description test
|
||||||
OpenMP regression tests
|
OpenMP regression tests
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
%autosetup -n openmp-%{version}%{?rc_ver:rc%{rc_ver}}.src -p1
|
||||||
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE6}' --data='%{SOURCE5}'
|
|
||||||
%setup -T -q -b 5 -n %{cmake_srcdir}
|
|
||||||
# TODO: It would be more elegant to set -DLLVM_COMMON_CMAKE_UTILS=%{_builddir}/%{cmake_srcdir},
|
|
||||||
# but this is not a CACHED variable, so we can't actually set it externally :(
|
|
||||||
cd ..
|
|
||||||
mv %{cmake_srcdir} cmake
|
|
||||||
%autosetup -n %{libomp_srcdir} -p2
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# TODO: LIBOMP_HAVE_VERSION_SCRIPT_FLAG should be set automatically.
|
mkdir -p _build
|
||||||
%cmake -GNinja \
|
cd _build
|
||||||
|
|
||||||
|
%cmake .. \
|
||||||
-DLIBOMP_INSTALL_ALIASES=OFF \
|
-DLIBOMP_INSTALL_ALIASES=OFF \
|
||||||
-DCMAKE_MODULE_PATH=%{_libdir}/cmake/llvm \
|
-DLIBOMP_HEADERS_INSTALL_PATH:PATH=%{_libdir}/clang/%{version}/include \
|
||||||
-DLLVM_DIR=%{_libdir}/cmake/llvm \
|
|
||||||
-DCMAKE_INSTALL_INCLUDEDIR=%{_libdir}/clang/%{maj_ver}/include \
|
|
||||||
%if 0%{?__isa_bits} == 64
|
%if 0%{?__isa_bits} == 64
|
||||||
-DOPENMP_LIBDIR_SUFFIX=64 \
|
-DOPENMP_LIBDIR_SUFFIX=64 \
|
||||||
%else
|
%else
|
||||||
-DOPENMP_LIBDIR_SUFFIX= \
|
-DOPENMP_LIBDIR_SUFFIX= \
|
||||||
%endif
|
%endif
|
||||||
-DCMAKE_SKIP_RPATH:BOOL=ON \
|
|
||||||
-DLIBOMP_HAVE_VERSION_SCRIPT_FLAG:BOOL=ON
|
|
||||||
|
|
||||||
%cmake_build
|
%make_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%make_install -C _build
|
||||||
|
|
||||||
# Test package setup
|
# Test package setup
|
||||||
%global libomp_srcdir %{_datadir}/libomp/src/
|
%global libomp_srcdir %{_datadir}/libomp/src/
|
||||||
%global libomp_testdir %{libomp_srcdir}/runtime/test/
|
%global libomp_testdir %{libomp_srcdir}/runtime/test/
|
||||||
%global lit_cfg %{libomp_testdir}/%{_arch}.site.cfg.py
|
%global gcc_lit_cfg %{buildroot}%{libomp_testdir}/gcc.site.cfg
|
||||||
%global lit_fedora_cfg %{_datadir}/libomp/lit.fedora.cfg.py
|
%global clang_lit_cfg %{buildroot}%{libomp_testdir}/clang.site.cfg
|
||||||
|
|
||||||
install -d %{buildroot}%{libomp_srcdir}/runtime
|
install -d %{buildroot}%{libomp_srcdir}/runtime
|
||||||
cp -R runtime/test %{buildroot}%{libomp_srcdir}/runtime
|
cp -R runtime/test %{buildroot}%{libomp_srcdir}/runtime
|
||||||
cp -R runtime/src %{buildroot}%{libomp_srcdir}/runtime
|
cp -R runtime/src %{buildroot}%{libomp_srcdir}/runtime
|
||||||
|
|
||||||
# Generate lit config files. Strip off the last line that initiates the
|
# Add symlinks to the libomp headers/library so gcc can find them.
|
||||||
# test run, so we can customize the configuration.
|
ln -s %{_libdir}/clang/%{version}/include/omp.h %{buildroot}%{libomp_testdir}/omp.h
|
||||||
head -n -1 %{_vpath_builddir}/runtime/test/lit.site.cfg >> %{buildroot}%{lit_cfg}
|
ln -s %{_libdir}/clang/%{version}/include/ompt.h %{buildroot}%{libomp_testdir}/ompt.h
|
||||||
|
ln -s %{_libdir}/libomp.so %{buildroot}%{libomp_testdir}/libgomp.so
|
||||||
|
|
||||||
# Install custom fedora config file
|
# Generic test config
|
||||||
cp %{SOURCE4} %{buildroot}%{lit_fedora_cfg}
|
echo "import tempfile" > %{gcc_lit_cfg}
|
||||||
|
cat _build/runtime/test/lit.site.cfg >> %{gcc_lit_cfg}
|
||||||
|
sed -i 's~\(config.test_filecheck = \)""~\1"%{_libdir}/llvm/FileCheck"~' %{gcc_lit_cfg}
|
||||||
|
sed -i 's~\(config.omp_header_directory = \)"[^"]\+"~\1"%{_includedir}"~' %{gcc_lit_cfg}
|
||||||
|
sed -i 's~\(config.libomp_obj_root = \)"[^"]\+"~\1tempfile.mkdtemp()[1]~' %{gcc_lit_cfg}
|
||||||
|
sed -i 's~\(lit_config.load_config(config, \)"[^"]\+"~\1"%{libomp_testdir}/lit.cfg"~' %{gcc_lit_cfg}
|
||||||
|
|
||||||
# Patch lit config files to load custom fedora config
|
# GCC config
|
||||||
echo "lit_config.load_config(config, '%{lit_fedora_cfg}')" >> %{buildroot}%{lit_cfg}
|
# test_compiler_features was already populated with gcc information if gcc was used
|
||||||
|
# to compile libomp.
|
||||||
|
sed -i 's~\(config.test_c_compiler = \)"[^"]\+"~\1"%{_bindir}/gcc"~' %{gcc_lit_cfg}
|
||||||
|
sed -i 's~\(config.test_cxx_compiler = \)"[^"]\+"~\1"%{_bindir}/g++"~' %{gcc_lit_cfg}
|
||||||
|
sed -i 's~\(config.library_dir = \)"[^"]\+"~\1"%{libomp_testdir}"~' %{gcc_lit_cfg}
|
||||||
|
|
||||||
# Install test script
|
# Clang config
|
||||||
install -d %{buildroot}%{_libexecdir}/tests/libomp
|
cp %{gcc_lit_cfg} %{clang_lit_cfg}
|
||||||
install -m 0755 %{SOURCE3} %{buildroot}%{_libexecdir}/tests/libomp
|
sed -i 's~\(config.test_compiler_features = \)\[[^\[]\+]~\1["clang"]~' %{clang_lit_cfg}
|
||||||
|
sed -i 's~\(config.test_c_compiler = \)"[^"]\+"~\1"%{_bindir}/clang"~' %{clang_lit_cfg}
|
||||||
|
sed -i 's~\(config.test_cxx_compiler = \)"[^"]\+"~\1"%{_bindir}/clang++"~' %{clang_lit_cfg}
|
||||||
|
sed -i 's~\(config.library_dir = \)"[^"]\+"~\1"%{_libdir}"~' %{clang_lit_cfg}
|
||||||
|
|
||||||
# Remove static libraries with equivalent shared libraries
|
install -m 0755 %{SOURCE1} %{buildroot}%{_datadir}/libomp
|
||||||
rm -rf %{buildroot}%{_libdir}/libarcher_static.a
|
|
||||||
|
|
||||||
%check
|
|
||||||
%cmake_build --target check-openmp
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE.TXT
|
|
||||||
%{_libdir}/libomp.so
|
%{_libdir}/libomp.so
|
||||||
%{_libdir}/libompd.so
|
%{_libdir}/libomptarget.so
|
||||||
%ifnarch %{arm}
|
%ifnarch %{arm} %{ix86}
|
||||||
%{_libdir}/libarcher.so
|
%{_libdir}/libomptarget.rtl.%{libomp_arch}.so
|
||||||
%endif
|
|
||||||
%ifnarch %{ix86} %{arm}
|
|
||||||
# libomptarget is not supported on 32-bit systems.
|
|
||||||
%{_libdir}/libomptarget.rtl.amdgpu.so.%{maj_ver}
|
|
||||||
%{_libdir}/libomptarget.rtl.amdgpu.nextgen.so.%{maj_ver}
|
|
||||||
%{_libdir}/libomptarget.rtl.cuda.so.%{maj_ver}
|
|
||||||
%{_libdir}/libomptarget.rtl.cuda.nextgen.so.%{maj_ver}
|
|
||||||
%{_libdir}/libomptarget.rtl.%{libomp_arch}.so.%{maj_ver}
|
|
||||||
%{_libdir}/libomptarget.rtl.%{libomp_arch}.nextgen.so.%{maj_ver}
|
|
||||||
%{_libdir}/libomptarget.so.%{maj_ver}
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_libdir}/clang/%{maj_ver}/include/omp.h
|
%{_libdir}/clang/%{version}/include/omp.h
|
||||||
%{_libdir}/cmake/openmp/FindOpenMPTarget.cmake
|
|
||||||
%ifnarch %{arm}
|
%ifnarch %{arm}
|
||||||
%{_libdir}/clang/%{maj_ver}/include/omp-tools.h
|
%{_libdir}/clang/%{version}/include/ompt.h
|
||||||
%{_libdir}/clang/%{maj_ver}/include/ompt.h
|
|
||||||
%{_libdir}/clang/%{maj_ver}/include/ompt-multiplex.h
|
|
||||||
%endif
|
|
||||||
%ifnarch %{ix86} %{arm}
|
|
||||||
# libomptarget is not supported on 32-bit systems.
|
|
||||||
%{_libdir}/libomptarget.rtl.amdgpu.so
|
|
||||||
%{_libdir}/libomptarget.rtl.amdgpu.nextgen.so
|
|
||||||
%{_libdir}/libomptarget.rtl.cuda.so
|
|
||||||
%{_libdir}/libomptarget.rtl.cuda.nextgen.so
|
|
||||||
%{_libdir}/libomptarget.rtl.%{libomp_arch}.so
|
|
||||||
%{_libdir}/libomptarget.rtl.%{libomp_arch}.nextgen.so
|
|
||||||
%{_libdir}/libomptarget.devicertl.a
|
|
||||||
%{_libdir}/libomptarget-amdgpu-*.bc
|
|
||||||
%{_libdir}/libomptarget-nvptx-*.bc
|
|
||||||
%{_libdir}/libomptarget.so
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files test
|
%files test
|
||||||
%{_datadir}/libomp
|
%{_datadir}/libomp
|
||||||
%{_libexecdir}/tests/libomp/
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Apr 19 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.1-3
|
|
||||||
- Bump the release. Fix rhbz#2187642.
|
|
||||||
|
|
||||||
* Tue Apr 18 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.1-2
|
|
||||||
- Be explicit about libomp-devel denpending on libomp. Fix rhbz#2187642.
|
|
||||||
|
|
||||||
* Thu Apr 13 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.1-1
|
|
||||||
- Update to LLVM 16.0.1
|
|
||||||
|
|
||||||
* Tue Mar 21 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0-1
|
|
||||||
- Update to LLVM 16.0.0
|
|
||||||
|
|
||||||
* Wed Mar 15 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0~rc4-1
|
|
||||||
- Update to LLVM 16.0.0 RC4
|
|
||||||
|
|
||||||
* Thu Feb 23 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0~rc3-1
|
|
||||||
- Update to LLVM 16.0.0 RC3
|
|
||||||
|
|
||||||
* Tue Feb 14 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0~rc1-1
|
|
||||||
- Update to LLVM 16.0.0 RC1
|
|
||||||
|
|
||||||
* Tue Jan 31 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 15.0.7-5
|
|
||||||
- Include the Apache license adopted in 2019.
|
|
||||||
|
|
||||||
* Fri Jan 20 2023 Tom Stellard <tstellar@redhat.com> - 15.0.7-4
|
|
||||||
- Omit frame pointers when building
|
|
||||||
|
|
||||||
* Fri Jan 20 2023 Nikita Popov <npopov@redhat.com> - 15.0.7-3
|
|
||||||
- Fix build against GCC 13
|
|
||||||
|
|
||||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 15.0.7-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jan 13 2023 Nikita Popov <npopov@redhat.com> - 15.0.7-1
|
|
||||||
- Update to LLVM 15.0.7
|
|
||||||
|
|
||||||
* Tue Dec 06 2022 Nikita Popov <npopov@redhat.com> - 15.0.6-1
|
|
||||||
- Update to LLVM 15.0.6
|
|
||||||
|
|
||||||
* Mon Nov 07 2022 Nikita Popov <npopov@redhat.com> - 15.0.4-1
|
|
||||||
- Update to LLVM 15.0.4
|
|
||||||
|
|
||||||
* Mon Sep 12 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-3
|
|
||||||
- Re-enable LTO build
|
|
||||||
|
|
||||||
* Mon Sep 12 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-2
|
|
||||||
- Add explicit requires from libomp-devel to libomp
|
|
||||||
|
|
||||||
* Tue Sep 06 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-1
|
|
||||||
- Update to LLVM 15.0.0
|
|
||||||
|
|
||||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 14.0.5-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jun 20 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.5-1
|
|
||||||
- 14.0.5 Release
|
|
||||||
|
|
||||||
* Thu Mar 24 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-1
|
|
||||||
- 14.0.0 Release
|
|
||||||
|
|
||||||
* Thu Feb 03 2022 Nikita Popov <npopov@redhat.com> - 13.0.1-1
|
|
||||||
- Update to LLVM 13.0.1 final
|
|
||||||
|
|
||||||
* Tue Jan 25 2022 Nikita Popov <npopov@redhat.com> - 13.0.1~rc3-2
|
|
||||||
- Update to LLVM 13.0.1rc3
|
|
||||||
|
|
||||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 13.0.1~rc2-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jan 13 2022 Nikita Popov <npopov@redhat.com> - 13.0.1~rc2-1
|
|
||||||
- Update to LLVM 13.0.1rc2
|
|
||||||
|
|
||||||
* Mon Jan 10 2022 Nikita Popov <npopov@redhat.com> - 13.0.1~rc1-1
|
|
||||||
- Update to LLVM 13.0.1rc1
|
|
||||||
|
|
||||||
* Sat Jan 08 2022 Miro Hrončok <mhroncok@redhat.com> - 13.0.0-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34
|
|
||||||
|
|
||||||
* Mon Oct 04 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-1
|
|
||||||
- 13.0.0 Release
|
|
||||||
|
|
||||||
* Tue Sep 21 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0~rc3-1
|
|
||||||
- 13.0.0-rc3 Release
|
|
||||||
|
|
||||||
* Mon Aug 09 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0~rc1-1
|
|
||||||
- 13.0.0-rc1 Release
|
|
||||||
|
|
||||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 12.0.1-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jul 13 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1-1
|
|
||||||
- 12.0.1 Release
|
|
||||||
|
|
||||||
* Thu Jul 01 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1~rc3-1
|
|
||||||
- Fix install path
|
|
||||||
|
|
||||||
* Fri Jun 04 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1~rc1-2
|
|
||||||
- Fix install path
|
|
||||||
|
|
||||||
* Tue Jun 01 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1~rc1-1
|
|
||||||
- 12.0.1-rc1 Release
|
|
||||||
|
|
||||||
* Fri Apr 16 2021 Tom Stellard <tstellar@redhat.com> - 12.0.0-1
|
|
||||||
- 12.0.0 Release
|
|
||||||
|
|
||||||
* Thu Apr 08 2021 sguelton@redhat.com - 12.0.0-0.7.rc5
|
|
||||||
- New upstream release candidate
|
|
||||||
|
|
||||||
* Fri Apr 02 2021 sguelton@redhat.com - 12.0.0-0.6.rc4
|
|
||||||
- New upstream release candidate
|
|
||||||
|
|
||||||
* Wed Mar 31 2021 Jonathan Wakely <jwakely@redhat.com> - 12.0.0-0.5.rc3
|
|
||||||
- Rebuilt for removed libstdc++ symbols (#1937698)
|
|
||||||
|
|
||||||
* Thu Mar 11 2021 sguelton@redhat.com - 12.0.0-0.4.rc3
|
|
||||||
- LLVM 12.0.0 rc3
|
|
||||||
|
|
||||||
* Tue Mar 09 2021 sguelton@redhat.com - 12.0.0-0.3.rc2
|
|
||||||
- rebuilt
|
|
||||||
|
|
||||||
* Wed Feb 24 2021 sguelton@redhat.com - 12.0.0-0.2.rc2
|
|
||||||
- 12.0.0-rc2 release
|
|
||||||
|
|
||||||
* Mon Feb 22 2021 sguelton@redhat.com - 12.0.0-0.1.rc1
|
|
||||||
- 12.0.0-rc1 release
|
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 11.1.0-0.3.rc2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jan 22 2021 Serge Guelton - 11.1.0-0.2.rc2
|
|
||||||
- llvm 11.1.0-rc2 release
|
|
||||||
|
|
||||||
* Thu Jan 14 2021 Serge Guelton - 11.1.0-0.1.rc1
|
|
||||||
- 11.1.0-rc1 release
|
|
||||||
|
|
||||||
* Wed Jan 06 2021 Serge Guelton - 11.0.1-3
|
|
||||||
- LLVM 11.0.1 final
|
|
||||||
|
|
||||||
* Tue Dec 22 2020 sguelton@redhat.com - 11.0.1-2.rc2
|
|
||||||
- llvm 11.0.1-rc2
|
|
||||||
|
|
||||||
* Tue Dec 01 2020 sguelton@redhat.com - 11.0.1-1.rc1
|
|
||||||
- llvm 11.0.1-rc1
|
|
||||||
|
|
||||||
* Wed Oct 28 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-2
|
|
||||||
- Replace clang-devel dependency with clang-resource-filesystem
|
|
||||||
|
|
||||||
* Thu Oct 15 2020 sguelton@redhat.com - 11.0.0-1
|
|
||||||
- Fix NVR
|
|
||||||
|
|
||||||
* Mon Oct 12 2020 sguelton@redhat.com - 11.0.0-0.5
|
|
||||||
- llvm 11.0.0 - final release
|
|
||||||
|
|
||||||
* Thu Oct 08 2020 sguelton@redhat.com - 11.0.0-0.4.rc6
|
|
||||||
- 11.0.0-rc6
|
|
||||||
|
|
||||||
* Fri Oct 02 2020 sguelton@redhat.com - 11.0.0-0.3.rc5
|
|
||||||
- 11.0.0-rc5 Release
|
|
||||||
|
|
||||||
* Sun Sep 27 2020 sguelton@redhat.com - 11.0.0-0.2.rc3
|
|
||||||
- Fix NVR
|
|
||||||
|
|
||||||
* Thu Sep 24 2020 sguelton@redhat.com - 11.0.0-0.1.rc3
|
|
||||||
- 11.0.0-rc3 Release
|
|
||||||
|
|
||||||
* Tue Sep 01 2020 sguelton@redhat.com - 11.0.0-0.1.rc2
|
|
||||||
- 11.0.0-rc2 Release
|
|
||||||
|
|
||||||
* Mon Aug 10 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-0.1.rc1
|
|
||||||
- 11.0.0-rc1 Release
|
|
||||||
|
|
||||||
* Mon Aug 10 2020 sguelton@redhat.com - 10.0.0-8
|
|
||||||
- Make gcc dependency explicit, see https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B#BuildRequires_and_Requires
|
|
||||||
- use %%license macro
|
|
||||||
|
|
||||||
* Sat Aug 08 2020 Jeff Law <releng@fedoraproject.org> - 10.0.0-7
|
|
||||||
- Disable LTO for now
|
|
||||||
|
|
||||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-6
|
|
||||||
- Second attempt - Rebuilt for
|
|
||||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jul 20 2020 sguelton@redhat.com - 10.0.0-4
|
|
||||||
- Use modern cmake macro
|
|
||||||
- Use gnupg verify
|
|
||||||
|
|
||||||
* Tue Jun 16 2020 sguelton@redhat.com - 10.0.0-3
|
|
||||||
- Add Requires: libomp = %%{version}-%%{release} to libomp-test to avoid
|
|
||||||
the need to test interoperability between the various combinations of old
|
|
||||||
and new subpackages.
|
|
||||||
|
|
||||||
* Mon Jun 01 2020 sguelton@redhat.com - 10.0.0-2
|
|
||||||
- Add Requires: libomp-devel = %%{version}-%%{release} to libomp-test to avoid
|
|
||||||
the need to test interoperability between the various combinations of old
|
|
||||||
and new subpackages.
|
|
||||||
|
|
||||||
* Mon Mar 30 2020 sguelton@redhat.com - 10.0.0-1
|
|
||||||
- 10.0.0 final
|
|
||||||
|
|
||||||
* Wed Mar 25 2020 sguelton@redhat.com - 10.0.0-0.6.rc6
|
|
||||||
- 10.0.0 rc6
|
|
||||||
|
|
||||||
* Fri Mar 20 2020 sguelton@redhat.com - 10.0.0-0.5.rc5
|
|
||||||
- 10.0.0 rc5
|
|
||||||
|
|
||||||
* Sun Mar 15 2020 sguelton@redhat.com - 10.0.0-0.4.rc4
|
|
||||||
- 10.0.0 rc4
|
|
||||||
|
|
||||||
* Thu Mar 05 2020 sguelton@redhat.com - 10.0.0-0.3.rc3
|
|
||||||
- 10.0.0 rc3
|
|
||||||
|
|
||||||
* Fri Feb 14 2020 sguelton@redhat.com - 10.0.0-0.2.rc2
|
|
||||||
- 10.0.0 rc2
|
|
||||||
|
|
||||||
* Fri Jan 31 2020 sguelton@redhat.com - 10.0.0-0.1.rc1
|
|
||||||
- 10.0.0 rc1
|
|
||||||
|
|
||||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.1-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Dec 19 2019 Tom Stellard <tstellar@redhat.com> - 9.0.1-1
|
|
||||||
- 9.0.1 Release
|
|
||||||
|
|
||||||
* Thu Sep 19 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-1
|
|
||||||
- 9.0.0 Release
|
|
||||||
|
|
||||||
* Thu Aug 22 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-0.1.rc3
|
|
||||||
- 9.0.0-rc3 Release
|
|
||||||
|
|
||||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.0-2.1
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Apr 25 2019 Tom Stellard <tstellar@redhat.com> - 8.0.0-2
|
|
||||||
- Simplify libomp-test package
|
|
||||||
|
|
||||||
* Wed Mar 20 2019 sguelton@redhat.com - 8.0.0-1
|
|
||||||
- 8.0.0 final
|
|
||||||
|
|
||||||
* Tue Mar 12 2019 sguelton@redhat.com - 8.0.0-0.3.rc4
|
|
||||||
- 8.0.0 Release candidate 4
|
|
||||||
|
|
||||||
* Mon Feb 11 2019 sguelton@redhat.com - 8.0.0-0.2.rc2
|
|
||||||
- 8.0.0 Release candidate 2
|
|
||||||
|
|
||||||
* Mon Feb 11 2019 sguelton@redhat.com - 8.0.0-0.1.rc1
|
|
||||||
- 8.0.0 Release candidate 1
|
|
||||||
|
|
||||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-1.1
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Dec 17 2018 sguelton@redhat.com - 7.0.1-1
|
|
||||||
- 7.0.1 Release
|
|
||||||
|
|
||||||
* Wed Sep 12 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-1
|
|
||||||
- 7.0.1 Release
|
|
||||||
|
|
||||||
* Wed Sep 12 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.2.rc3
|
|
||||||
- 7.0.0-rc3 Release
|
|
||||||
|
|
||||||
* Tue Aug 14 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-0.1.rc1
|
|
||||||
- 7.0.1-rc1 Release
|
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jul 02 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-2
|
* Mon Jul 02 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-2
|
||||||
- Add -threads option to runtest.sh
|
- Add -threads option to runtest.sh
|
||||||
|
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
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']
|
|
||||||
config.test_c_compiler = 'clang'
|
|
||||||
config.test_cxx_compiler = 'clang++'
|
|
||||||
lit_config.load_config(config, '%(libomp_test_root)s/lit.cfg' % lit_config.params)
|
|
104
release-keys.asc
104
release-keys.asc
@ -1,104 +0,0 @@
|
|||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
||||||
|
|
||||||
mQGNBGLtemUBDADClvDIromq0Y4TX+wyRyYCq5WusPQheQuY8dVCXd9KhMpYAv8U
|
|
||||||
X15E5boH/quGpJ0ZlVkWcf+1WUHIrQWlbzQdIx514CDM7DBgO92CXsnn86kIMDW+
|
|
||||||
9S+Hkn8upbizT1fWritlHwzD9osz7ZQRq7ac03PPgw27tqeIizHGuG4VNLyhbbjA
|
|
||||||
w+0VLFSu3r219eevS+lzBIvR5U9W720jFxWxts4UvaGuD6XW1ErcsTvuhgyCKrrs
|
|
||||||
gxO5Ma/V7r0+lqRL688ZPr4HxthwsON1YCfpNiMZ6s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iPHsiN
|
|
||||||
J5iipbdZNpZ3XL0l8/t/7T60nM7UZDqt3twLMA0eRFRlCnhMjvFE5Zgj5DE7BsJh
|
|
||||||
w2nCoGWkAcfeuih+jfyEjN24NK+sE/bM+krwVv430ewJwm1bVUqKrbOb9aa6V9gP
|
|
||||||
9RmlwZlOTFGcWBYl/cfRONn9qi9a6w==
|
|
||||||
=Lvw+
|
|
||||||
-----END PGP PUBLIC KEY BLOCK-----
|
|
||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
||||||
|
|
||||||
mQINBFrqgT0BEAC7xo0WH+eNrLlU5LrCk59KmImn1abFcmWNd8kYr5XfqmJKyVqo
|
|
||||||
EY7A/yRjf+Yn1621EDkpKPjbql7q7MlZMpqKVdOWKWgmhvz08IOKJxaIABd/iIRT
|
|
||||||
FwhIvB68YjtmzcoOJRi1wLnwuG55fJ9E69HyZ33jgAlRaWV3bE/YyszoTlZriUOE
|
|
||||||
RbzC5WzX004cE9evlrr+YLt5Y6z7tntOdSXPLyGOFAO5LYMsHsEdi2JBYWrjlslG
|
|
||||||
6iJr5iEt9v442PrJ79YYbu5QWe/6APRWtI3AtKBp7y250oon2lbj+bIVD7U9fOBB
|
|
||||||
n/Frqx54UN22sJycET63hgYW4pIjIi5zq+FF15aU+ZqBdtNltoX4hEN7wlDpuNc0
|
|
||||||
ezVu2Z8hdt8thpjiFUioTQ1t3RmsN6N548VwxmHdoYpAmiZqPIYBYvm85JB7S/3h
|
|
||||||
RLuoeGxufBhXGCpnG8ghTOGtbbdanuLB/UROFXTdyZbTCBN5S6jvwkPSaHG7H35Z
|
|
||||||
3fazMriTXwL1RGAbKITSWhDe5dXy/yOInWe8emJx+35vwQYCB2L4S8wRyQyRw6x4
|
|
||||||
YoXCscW041DUMBX2CC7SjMCcmAC39UX1c3GbTpS3rkJR9cmXt50nviMnKpIwlIPd
|
|
||||||
ZYhmxKifwTJ70+c4GVK2o0MG9bTYvpYhLnYxv6iJCfgmT40E+qkDSzSoZw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j6GY
|
|
||||||
cQeHxQCrWpQrwigiseG5uhhS9aiaVFEHja9baSLfXlZu/vsR4MdDG5/iEpier/Xw
|
|
||||||
h1qnpTSY+r31Uw3lTUlPHzlg47PMgPslaIhCzfVggxh9bTqxcDbuYJ7NuoMho3tN
|
|
||||||
yWfeofTJ7PhKzoXM2Y/rRFoM5gNh1RVA19ngLT5Jwiof8fPZvHJ/9ZkHn+O7eMNm
|
|
||||||
m5++gYza3pnn2/PoGpGGAKok+sfJiq5Tb7RUefyJTeZiyTZ/XJrA
|
|
||||||
=tMzl
|
|
||||||
-----END PGP PUBLIC KEY BLOCK-----
|
|
@ -1,59 +0,0 @@
|
|||||||
#!/usr/bin/bash
|
|
||||||
|
|
||||||
usage() {
|
|
||||||
echo "usage: `basename $0` [OPTIONS]"
|
|
||||||
echo " --threads NUM The number of threads to use for running tests."
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
threads_arg=''
|
|
||||||
|
|
||||||
while [ $# -gt 0 ]; do
|
|
||||||
case $1 in
|
|
||||||
--threads)
|
|
||||||
shift
|
|
||||||
threads_arg="--threads $1"
|
|
||||||
;;
|
|
||||||
--multilib-arch)
|
|
||||||
shift
|
|
||||||
ARCH=$1
|
|
||||||
;;
|
|
||||||
* )
|
|
||||||
echo "unknown option: $1"
|
|
||||||
echo ""
|
|
||||||
usage
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
shift
|
|
||||||
done
|
|
||||||
|
|
||||||
|
|
||||||
set -xe
|
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
|
||||||
ARCH=`rpm --eval '%_arch'`
|
|
||||||
fi
|
|
||||||
|
|
||||||
case $ARCH in
|
|
||||||
arm)
|
|
||||||
;&
|
|
||||||
i686)
|
|
||||||
LIB_DIR="/usr/lib/"
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
LIB_DIR="/usr/lib64/"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
BIN_DIR="/usr/bin/"
|
|
||||||
INCLUDE_DIR="/usr/include/"
|
|
||||||
|
|
||||||
lit $threads_arg -v \
|
|
||||||
--config-prefix $ARCH \
|
|
||||||
-Dlibomp_compiler=clang \
|
|
||||||
-Dbindir=$BIN_DIR \
|
|
||||||
-Dlibdir=$LIB_DIR \
|
|
||||||
-Dincludedir=$INCLUDE_DIR \
|
|
||||||
-Dlibomp_test_root=/usr/share/libomp/src/runtime/test \
|
|
||||||
/usr/share/libomp/src/runtime/test
|
|
33
runtest.sh
Normal file
33
runtest.sh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
usage() {
|
||||||
|
echo "usage: `basename $0` [OPTIONS]"
|
||||||
|
echo " --threads NUM The number of threads to use for running tests."
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
threads_arg=''
|
||||||
|
|
||||||
|
while [ $# -gt 0 ]; do
|
||||||
|
case $1 in
|
||||||
|
--threads)
|
||||||
|
shift
|
||||||
|
threads_arg="--threads $1"
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
echo "unknown option: $1"
|
||||||
|
echo ""
|
||||||
|
usage
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
|
lit $threads_arg -v --config-prefix clang /usr/share/libomp/src/runtime/test
|
||||||
|
fail=$?
|
||||||
|
lit $threads_arg -v --config-prefix gcc /usr/share/libomp/src/runtime/test
|
||||||
|
exit $fail || $?
|
5
sources
5
sources
@ -1,4 +1 @@
|
|||||||
SHA512 (cmake-16.0.1.src.tar.xz) = 7a0f01a82660a953e06b1df267918542205ac46f151d284dca74255c36fe5ccd995266638a85ce502a81cdd5e76ff3311e5f8488e09d0abbf22ee07cec186f5f
|
SHA512 (openmp-6.0.1.src.tar.xz) = abb956583e5d11d0c6f6d97183c081d658616a74933be884a591eaa3d8c4bb04f08f02016d2c86d7384c7ff1aa44fb949b0d967fc0ff50e3132aaba412e9add8
|
||||||
SHA512 (cmake-16.0.1.src.tar.xz.sig) = 8d49050e9b04df253a5bb2fa3b27796f204d085610432826bef6bb6cab876990d67e7fd5267fc89fadf21d88da73c535c82ae6ea0e1c867f7cd5efac244b0fa2
|
|
||||||
SHA512 (openmp-16.0.1.src.tar.xz) = 9c22ce1c7a2d12d266d5ce88d610d5bbbbf1da9ce9ad27be10f875ad238c5353b8cac7a64a84b7b0477387f3f60577eff49cde8b4521ab66509c9cd3d90c881f
|
|
||||||
SHA512 (openmp-16.0.1.src.tar.xz.sig) = b625b5a9394109bbb46763997914b0ba8bfe80b702c8685e7ffcec19126732a8cce7b959507682bacd6c5db3d4f6b6974cc9ba9daab68504058badd5fb1e305d
|
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
# Gating testplans for libomp
|
|
||||||
|
|
||||||
The tests for libomp are in a separate repo: https://src.fedoraproject.org/tests/libomp
|
|
||||||
This directory should contain only fmf plans (such as build-gating.fmf) which import
|
|
||||||
the tests from the tests repo. This can be done using the "url" parameter of the
|
|
||||||
plan's "discover" step. Reference: https://tmt.readthedocs.io/en/stable/spec/plans.html#fmf
|
|
@ -1,45 +0,0 @@
|
|||||||
#
|
|
||||||
# Build/PR gating tests for *LLVM 13*
|
|
||||||
#
|
|
||||||
# Compatible with various LLVM 13 distributions:
|
|
||||||
#
|
|
||||||
# * Fedora (ursine packages)
|
|
||||||
# * Centos 9 stream (ursine packages)
|
|
||||||
# * RHEL-9 (ursine packages)
|
|
||||||
# * RHEL-8 (Red Hat module)
|
|
||||||
# * RHEL-7 (software collection)
|
|
||||||
#
|
|
||||||
|
|
||||||
summary: libomp tests for build/PR gating
|
|
||||||
adjust:
|
|
||||||
- because: "Plan to be ran when either executed locally, or executed by CI system to gate a build or PR."
|
|
||||||
when: >-
|
|
||||||
trigger is defined
|
|
||||||
and trigger != commit
|
|
||||||
and trigger != build
|
|
||||||
enabled: false
|
|
||||||
|
|
||||||
- because: "When testing SCL-ized LLVM, the collection must be enabled first"
|
|
||||||
environment+:
|
|
||||||
WITH_SCL: "scl enable llvm-toolset-13.0 rust-toolset-1.58"
|
|
||||||
when: "collection == llvm-toolset-13.0"
|
|
||||||
- because: "When testing SCL-ized LLVM, the collection must be enabled first"
|
|
||||||
environment+:
|
|
||||||
WITH_SCL: "scl enable llvm-toolset-14.0"
|
|
||||||
when: "collection == llvm-toolset-14.0"
|
|
||||||
|
|
||||||
discover:
|
|
||||||
- name: libomp-tests
|
|
||||||
how: fmf
|
|
||||||
url: https://src.fedoraproject.org/tests/libomp.git
|
|
||||||
ref: main
|
|
||||||
- name: upstream-llvm-integration-testsuite
|
|
||||||
how: fmf
|
|
||||||
url: https://src.fedoraproject.org/tests/llvm.git
|
|
||||||
ref: main
|
|
||||||
test: integration-test-suite
|
|
||||||
execute:
|
|
||||||
how: tmt
|
|
||||||
provision:
|
|
||||||
hardware:
|
|
||||||
memory: ">= 4 GiB"
|
|
11
tests/tests.yml
Normal file
11
tests/tests.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
roles:
|
||||||
|
- role: standard-test-basic
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
required_packages:
|
||||||
|
- libomp-test
|
||||||
|
tests:
|
||||||
|
- libomp-regression-tests:
|
||||||
|
dir: ./
|
||||||
|
run: /usr/share/libomp/runtest.sh --threads 8
|
Loading…
Reference in New Issue
Block a user