Compare commits
No commits in common. "c9s" and "c8-stream-rhel8" have entirely different histories.
c9s
...
c8-stream-
@ -1 +0,0 @@
|
|||||||
1
|
|
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,3 +1,2 @@
|
|||||||
/*.tar.xz
|
SOURCES/openmp-17.0.6.src.tar.xz
|
||||||
/*.tar.xz.sig
|
SOURCES/openmp-17.0.6.src.tar.xz.sig
|
||||||
/*.src.rpm
|
|
||||||
|
2
.libomp.metadata
Normal file
2
.libomp.metadata
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
d633a8e324689c7bf20528c99b3130ba1796fe1d SOURCES/openmp-17.0.6.src.tar.xz
|
||||||
|
8354a371042267a121f2b4e27c03f74f9eeff994 SOURCES/openmp-17.0.6.src.tar.xz.sig
|
276
SPECS/libomp.spec
Normal file
276
SPECS/libomp.spec
Normal file
@ -0,0 +1,276 @@
|
|||||||
|
%bcond_with snapshot_build
|
||||||
|
|
||||||
|
%if %{with snapshot_build}
|
||||||
|
# Unlock LLVM Snapshot LUA functions
|
||||||
|
%{llvm_sb}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%global maj_ver 17
|
||||||
|
%global libomp_version %{maj_ver}.0.6
|
||||||
|
#global rc_ver 4
|
||||||
|
%global libomp_srcdir openmp-%{libomp_version}%{?rc_ver:rc%{rc_ver}}.src
|
||||||
|
%global so_suffix %{maj_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}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
%ifarch ppc64le
|
||||||
|
%global libomp_arch ppc64
|
||||||
|
%else
|
||||||
|
%global libomp_arch %{_arch}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
Name: libomp
|
||||||
|
Version: %{libomp_version}%{?rc_ver:~rc%{rc_ver}}
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: OpenMP runtime for clang
|
||||||
|
|
||||||
|
License: NCSA
|
||||||
|
URL: http://openmp.llvm.org
|
||||||
|
%if %{with snapshot_build}
|
||||||
|
Source0: %{llvm_snapshot_source_prefix}openmp-%{llvm_snapshot_yyyymmdd}.src.tar.xz
|
||||||
|
%{llvm_snapshot_extra_source_tags}
|
||||||
|
%else
|
||||||
|
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{libomp_version}%{?rc_ver:-rc%{rc_ver}}/%{libomp_srcdir}.tar.xz
|
||||||
|
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{libomp_version}%{?rc_ver:-rc%{rc_ver}}/%{libomp_srcdir}.tar.xz.sig
|
||||||
|
Source2: release-keys.asc
|
||||||
|
%endif
|
||||||
|
|
||||||
|
BuildRequires: clang >= %{maj_ver}
|
||||||
|
# For clang-offload-packager
|
||||||
|
BuildRequires: clang-tools-extra
|
||||||
|
BuildRequires: cmake
|
||||||
|
BuildRequires: ninja-build
|
||||||
|
BuildRequires: elfutils-libelf-devel
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-Data-Dumper
|
||||||
|
BuildRequires: perl-Encode
|
||||||
|
BuildRequires: libffi-devel
|
||||||
|
# RHEL specific: libomp requires libterminfo
|
||||||
|
BuildRequires: ncurses-devel
|
||||||
|
|
||||||
|
# For gpg source verification
|
||||||
|
BuildRequires: gnupg2
|
||||||
|
|
||||||
|
# libomptarget needs the llvm cmake files
|
||||||
|
BuildRequires: llvm-devel
|
||||||
|
BuildRequires: llvm-cmake-utils
|
||||||
|
|
||||||
|
Requires: elfutils-libelf%{?isa}
|
||||||
|
|
||||||
|
Obsoletes: libomp-test < 17.0.3
|
||||||
|
|
||||||
|
# libomp does not support s390x.
|
||||||
|
ExcludeArch: s390x
|
||||||
|
|
||||||
|
%description
|
||||||
|
OpenMP runtime for clang.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: OpenMP header files
|
||||||
|
Requires: %{name}%{?isa} = %{version}-%{release}
|
||||||
|
Requires: clang-resource-filesystem%{?isa} = %{version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
OpenMP header files.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%if %{without snapshot_build}
|
||||||
|
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
||||||
|
%endif
|
||||||
|
%autosetup -n %{libomp_srcdir} -p2
|
||||||
|
|
||||||
|
%build
|
||||||
|
%undefine __cmake_in_source_build
|
||||||
|
|
||||||
|
# LTO causes build failures in this package. Disable LTO for now
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1988155
|
||||||
|
%define _lto_cflags %{nil}
|
||||||
|
|
||||||
|
%cmake -GNinja \
|
||||||
|
-DLIBOMP_INSTALL_ALIASES=OFF \
|
||||||
|
-DCMAKE_MODULE_PATH=%{_datadir}/llvm/cmake/Modules \
|
||||||
|
-DLLVM_DIR=%{_libdir}/cmake/llvm \
|
||||||
|
-DCMAKE_INSTALL_INCLUDEDIR=%{_prefix}/lib/clang/%{maj_ver}/include \
|
||||||
|
%if 0%{?__isa_bits} == 64
|
||||||
|
-DOPENMP_LIBDIR_SUFFIX=64 \
|
||||||
|
%else
|
||||||
|
-DOPENMP_LIBDIR_SUFFIX= \
|
||||||
|
%endif
|
||||||
|
%if %{with snapshot_build}
|
||||||
|
-DLLVM_VERSION_SUFFIX="%{llvm_snapshot_version_suffix}" \
|
||||||
|
%endif
|
||||||
|
-DCMAKE_SKIP_RPATH:BOOL=ON
|
||||||
|
|
||||||
|
%cmake_build
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
%cmake_install
|
||||||
|
|
||||||
|
# Remove static libraries with equivalent shared libraries
|
||||||
|
rm -rf %{buildroot}%{_libdir}/libarcher_static.a
|
||||||
|
|
||||||
|
%check
|
||||||
|
%cmake_build --target check-openmp || true
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE.TXT
|
||||||
|
%{_libdir}/libomp.so
|
||||||
|
%{_libdir}/libompd.so
|
||||||
|
%ifnarch %{arm}
|
||||||
|
%{_libdir}/libarcher.so
|
||||||
|
%endif
|
||||||
|
%ifnarch %{ix86} %{arm}
|
||||||
|
# libomptarget is not supported on 32-bit systems.
|
||||||
|
%{_libdir}/libomptarget.rtl.amdgpu.so.%{so_suffix}
|
||||||
|
%{_libdir}/libomptarget.rtl.cuda.so.%{so_suffix}
|
||||||
|
%{_libdir}/libomptarget.rtl.%{libomp_arch}.so.%{so_suffix}
|
||||||
|
%{_libdir}/libomptarget.so.%{so_suffix}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_prefix}/lib/clang/%{maj_ver}/include/omp.h
|
||||||
|
%ifnarch %{arm}
|
||||||
|
%{_prefix}/lib/clang/%{maj_ver}/include/omp-tools.h
|
||||||
|
%{_prefix}/lib/clang/%{maj_ver}/include/ompt.h
|
||||||
|
%{_prefix}/lib/clang/%{maj_ver}/include/ompt-multiplex.h
|
||||||
|
%endif
|
||||||
|
%{_libdir}/cmake/openmp/FindOpenMPTarget.cmake
|
||||||
|
%ifnarch %{ix86} %{arm}
|
||||||
|
# libomptarget is not supported on 32-bit systems.
|
||||||
|
%{_libdir}/libomptarget.rtl.amdgpu.so
|
||||||
|
%{_libdir}/libomptarget.rtl.cuda.so
|
||||||
|
%{_libdir}/libomptarget.rtl.%{libomp_arch}.so
|
||||||
|
%{_libdir}/libomptarget.devicertl.a
|
||||||
|
%{_libdir}/libomptarget-amdgpu-*.bc
|
||||||
|
%{_libdir}/libomptarget-nvptx-*.bc
|
||||||
|
%{_libdir}/libomptarget.so
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Nov 29 2023 Nikita Popov <npopov@redhat.com> - 17.0.6-1
|
||||||
|
- Update to LLVM 17.0.6
|
||||||
|
|
||||||
|
* Wed Oct 04 2023 Nikita Popov <npopov@redhat.com> - 17.0.2-1
|
||||||
|
- Update to LLVM 17.0.2
|
||||||
|
|
||||||
|
* Sat Jul 15 2023 Tom Stellard <tstellar@redhat.com> - 16.0.6-3
|
||||||
|
- Remove duplicated installed binaries
|
||||||
|
|
||||||
|
* Wed Jul 05 2023 Tom Stellard <tstellar@redhat.com> - 16.0.6-2
|
||||||
|
- Add explict libomp requres to libomp-devel
|
||||||
|
|
||||||
|
* Fri Jun 23 2023 Tom Stellard <tstellar@redhat.com> - 16.0.6-1
|
||||||
|
- 16.0.6 Release
|
||||||
|
|
||||||
|
* Fri Apr 28 2023 Tom Stellard <tstellar@redhat.com> - 16.0.0-1
|
||||||
|
- Release 16.0.0
|
||||||
|
|
||||||
|
* Thu Jan 19 2023 Tom Stellard <tstellar@redhat.com> - 15.0.7-1
|
||||||
|
- Update to LLVM 15.0.7
|
||||||
|
|
||||||
|
* Tue Sep 06 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-1
|
||||||
|
- Update to LLVM 15.0.0
|
||||||
|
|
||||||
|
* Wed Aug 10 2022 Tom Stellard <tstellar@redhat.com> - 14.0.6-2
|
||||||
|
- Drop -test sub-package on i686
|
||||||
|
|
||||||
|
* Tue Jun 28 2022 Tom Stellard <tstellar@redhat.com> - 14.0.6-1
|
||||||
|
- 14.0.6 Release
|
||||||
|
|
||||||
|
* Wed May 18 2022 Timm Bäder <tbaeder@redhat.com> - 14.00-2
|
||||||
|
- Backport 40d3a0ba4d9e5452c0a68cfdaa8e88eb8ed5c63d to
|
||||||
|
fix a strict aliasing issue.
|
||||||
|
|
||||||
|
* Thu Apr 07 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-1
|
||||||
|
- Update to 14.0.0
|
||||||
|
|
||||||
|
* Thu Feb 03 2022 Tom Stellard <tstellar@redhat.com> - 13.0.1-1
|
||||||
|
- 13.0.1 Release
|
||||||
|
|
||||||
|
* Fri Oct 15 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-1
|
||||||
|
- 13.0.0 Release
|
||||||
|
|
||||||
|
* Fri Jul 16 2021 sguelton@redhat.com - 12.0.1-1
|
||||||
|
- 12.0.1 release
|
||||||
|
|
||||||
|
* Thu May 6 2021 sguelton@redhat.com - 12.0.0-1
|
||||||
|
- 12.0.0 release
|
||||||
|
|
||||||
|
* Thu Oct 29 2020 sguelton@redhat.com - 11.0.0-1
|
||||||
|
- 11.0.0 final release
|
||||||
|
|
||||||
|
* Mon Sep 21 2020 sguelton@redhat.com - 11.0.0-0.1.rc2
|
||||||
|
- 11.0.0-rc2 Release
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* Fri Sep 27 2019 Tom Stellard <tstellar@redhat.com> - 9.0.0-1
|
||||||
|
- 9.0.0 Release
|
||||||
|
|
||||||
|
* Thu Aug 1 2019 sguelton@redhat.com - 8.0.1-1
|
||||||
|
- 8.0.1 release
|
||||||
|
|
||||||
|
* Thu Jun 13 2019 sguelton@redhat.com - 8.0.1-0.1.rc2
|
||||||
|
- 8.0.1rc2 Release
|
||||||
|
|
||||||
|
* Mon Apr 29 2019 sguelton@redhat.com - 8.0.0-1
|
||||||
|
- 8.0.0 Release
|
||||||
|
|
||||||
|
* Fri Dec 14 2018 Tom Stellard <tstellar@redhat.com> - 7.0.1-1
|
||||||
|
- 7.0.1 Release
|
||||||
|
|
||||||
|
* Wed Dec 12 2018 Tom Stellard <tstellar@redhat.com> - 7.0.1-0.2.rc3
|
||||||
|
- Fix test failures on single-core systems
|
||||||
|
|
||||||
|
* Mon Dec 10 2018 Tom Stellard <tstellar@redhat.com> - 7.0.1-0.1.rc3
|
||||||
|
- 7.0.1-rc3 Release
|
||||||
|
|
||||||
|
* Tue Nov 27 2018 Tom Stellard <tstellar@redhat.com> - 7.0.0-1
|
||||||
|
- 7.0.0 Release
|
||||||
|
|
||||||
|
* Sat Nov 10 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-3
|
||||||
|
- Don't build libomp-test on i686
|
||||||
|
|
||||||
|
* Mon Oct 01 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-2
|
||||||
|
- Drop scl macros
|
||||||
|
|
||||||
|
* Wed Jul 11 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-1
|
||||||
|
- 6.0.1 Release
|
||||||
|
|
||||||
|
* Mon Jan 15 2018 Tom Stellard <tstellar@redhat.com> - 5.0.1-2
|
||||||
|
- Drop ExcludeArch: ppc64
|
||||||
|
|
||||||
|
* Thu Dec 21 2017 Tom Stellard <tstellar@redhat.com> - 5.0.1-1
|
||||||
|
- 5.0.1 Release.
|
||||||
|
|
||||||
|
* Wed Jun 21 2017 Tom Stellard <tstellar@redhat.com> - 4.0.1-1
|
||||||
|
- 4.0.1 Release.
|
||||||
|
|
||||||
|
* Wed Jun 07 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-3
|
||||||
|
- Rename libopenmp->libomp
|
||||||
|
|
||||||
|
* Fri May 26 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-2
|
||||||
|
- Disable build on s390x
|
||||||
|
|
||||||
|
* Mon May 15 2017 Tom Stellard <tstellar@redhat.com> - 4.0.0-1
|
||||||
|
- Initial version.
|
19
gating.yaml
19
gating.yaml
@ -1,19 +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}
|
|
||||||
--- !Policy
|
|
||||||
product_versions:
|
|
||||||
- rhel-9
|
|
||||||
decision_context: osci_compose_gate
|
|
||||||
rules:
|
|
||||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier0-tmt-x86_64-aarch64.functional}
|
|
||||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier0-tmt-s390x-ppc64le.functional}
|
|
416
libomp.spec
416
libomp.spec
@ -1,416 +0,0 @@
|
|||||||
%bcond_with snapshot_build
|
|
||||||
|
|
||||||
%if %{with snapshot_build}
|
|
||||||
# Unlock LLVM Snapshot LUA functions
|
|
||||||
%{llvm_sb}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%global maj_ver 18
|
|
||||||
%global min_ver 1
|
|
||||||
%global libomp_version %{maj_ver}.%{min_ver}.8
|
|
||||||
#global rc_ver 4
|
|
||||||
%global libomp_srcdir openmp-%{libomp_version}%{?rc_ver:rc%{rc_ver}}.src
|
|
||||||
%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}.%{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
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2158587
|
|
||||||
%undefine _include_frame_pointers
|
|
||||||
|
|
||||||
%ifarch ppc64le
|
|
||||||
%global libomp_arch ppc64
|
|
||||||
%else
|
|
||||||
%global libomp_arch %{_arch}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: libomp
|
|
||||||
Version: %{libomp_version}%{?rc_ver:~rc%{rc_ver}}%{?llvm_snapshot_version_suffix:~%{llvm_snapshot_version_suffix}}
|
|
||||||
Release: 1%{?dist}
|
|
||||||
Summary: OpenMP runtime for clang
|
|
||||||
|
|
||||||
License: Apache-2.0 WITH LLVM-exception OR NCSA
|
|
||||||
URL: http://openmp.llvm.org
|
|
||||||
%if %{with snapshot_build}
|
|
||||||
Source0: %{llvm_snapshot_source_prefix}openmp-%{llvm_snapshot_yyyymmdd}.src.tar.xz
|
|
||||||
%{llvm_snapshot_extra_source_tags}
|
|
||||||
%else
|
|
||||||
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{libomp_version}%{?rc_ver:-rc%{rc_ver}}/%{libomp_srcdir}.tar.xz
|
|
||||||
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{libomp_version}%{?rc_ver:-rc%{rc_ver}}/%{libomp_srcdir}.tar.xz.sig
|
|
||||||
Source2: release-keys.asc
|
|
||||||
%endif
|
|
||||||
|
|
||||||
BuildRequires: clang >= %{maj_ver}
|
|
||||||
# For clang-offload-packager
|
|
||||||
BuildRequires: clang-tools-extra
|
|
||||||
BuildRequires: cmake
|
|
||||||
BuildRequires: ninja-build
|
|
||||||
BuildRequires: elfutils-libelf-devel
|
|
||||||
BuildRequires: perl
|
|
||||||
BuildRequires: perl-Data-Dumper
|
|
||||||
BuildRequires: perl-Encode
|
|
||||||
BuildRequires: libffi-devel
|
|
||||||
|
|
||||||
# For gpg source verification
|
|
||||||
BuildRequires: gnupg2
|
|
||||||
|
|
||||||
# libomptarget needs the llvm cmake files
|
|
||||||
BuildRequires: llvm-devel
|
|
||||||
BuildRequires: llvm-cmake-utils
|
|
||||||
|
|
||||||
Requires: elfutils-libelf%{?isa}
|
|
||||||
|
|
||||||
Obsoletes: libomp-test < 18.1.8
|
|
||||||
|
|
||||||
%description
|
|
||||||
OpenMP runtime for clang.
|
|
||||||
|
|
||||||
%package devel
|
|
||||||
Summary: OpenMP header files
|
|
||||||
Requires: %{name}%{?isa} = %{version}-%{release}
|
|
||||||
Requires: clang-resource-filesystem%{?isa} = %{version}
|
|
||||||
|
|
||||||
%description devel
|
|
||||||
OpenMP header files.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%if %{without snapshot_build}
|
|
||||||
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
|
||||||
%endif
|
|
||||||
%autosetup -n %{libomp_srcdir} -p2
|
|
||||||
|
|
||||||
%build
|
|
||||||
%cmake -GNinja \
|
|
||||||
-DLIBOMP_INSTALL_ALIASES=OFF \
|
|
||||||
-DCMAKE_MODULE_PATH=%{_datadir}/llvm/cmake/Modules \
|
|
||||||
-DLLVM_DIR=%{_libdir}/cmake/llvm \
|
|
||||||
-DCMAKE_INSTALL_INCLUDEDIR=%{_prefix}/lib/clang/%{maj_ver}/include \
|
|
||||||
%if 0%{?__isa_bits} == 64
|
|
||||||
-DOPENMP_LIBDIR_SUFFIX=64 \
|
|
||||||
%else
|
|
||||||
-DOPENMP_LIBDIR_SUFFIX= \
|
|
||||||
%endif
|
|
||||||
%if %{with snapshot_build}
|
|
||||||
-DLLVM_VERSION_SUFFIX="%{llvm_snapshot_version_suffix}" \
|
|
||||||
%endif
|
|
||||||
-DCMAKE_SKIP_RPATH:BOOL=ON
|
|
||||||
|
|
||||||
%cmake_build
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
|
||||||
%cmake_install
|
|
||||||
|
|
||||||
# Remove static libraries with equivalent shared libraries
|
|
||||||
rm -rf %{buildroot}%{_libdir}/libarcher_static.a
|
|
||||||
|
|
||||||
%check
|
|
||||||
%cmake_build --target check-openmp
|
|
||||||
|
|
||||||
%files
|
|
||||||
%license LICENSE.TXT
|
|
||||||
%{_libdir}/libomp.so
|
|
||||||
%{_libdir}/libompd.so
|
|
||||||
%ifnarch %{arm}
|
|
||||||
%{_libdir}/libarcher.so
|
|
||||||
%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
|
|
||||||
%{_prefix}/lib/clang/%{maj_ver}/include/ompt-multiplex.h
|
|
||||||
%endif
|
|
||||||
%{_libdir}/cmake/openmp/
|
|
||||||
%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
|
|
||||||
%{_libdir}/libomptarget.so
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Wed Jul 17 2024 Konrad Kleine <kkleine@redhat.com> - 18.1.8-1
|
|
||||||
- Update to 18.1.8
|
|
||||||
|
|
||||||
* Wed Jun 05 2024 Konrad Kleine <kkleine@redhat.com> - 18.1.6-3
|
|
||||||
- Rebuild against clang-18.1.6-2 which defaults to DWARF4
|
|
||||||
|
|
||||||
* Mon Jun 03 2024 Konrad Kleine <kkleine@redhat.com> - 18.1.6-1
|
|
||||||
- Update to 18.1.6
|
|
||||||
|
|
||||||
* Mon Dec 11 2023 Timm Bäder <tbaeder@redhat.com> - 17.0.6-1
|
|
||||||
- Update to 17.0.6
|
|
||||||
|
|
||||||
* Fri Oct 20 2023 Timm Bäder <tbaeder@redhat.com> - 17.0.1-2
|
|
||||||
- Add obsoletes for libomp-test package.
|
|
||||||
|
|
||||||
* Fri Sep 29 2023 Timm Bäder <tbaeder@redhat.com> - 17.0.1-1
|
|
||||||
- Update to 17.0.1
|
|
||||||
|
|
||||||
* Wed Jul 05 2023 Nikita Popov <npopov@redhat.com> - 16.0.6-1
|
|
||||||
- Update to LLVM 16.0.6
|
|
||||||
|
|
||||||
* Wed Apr 19 2023 Nikita Popov <npopov@redhat.com> - 16.0.1-1
|
|
||||||
- Update to LLVM 16.0.1
|
|
||||||
|
|
||||||
* Mon Jan 16 2023 Konrad Kleine <kkleine@redhat.com> - 15.0.7-1
|
|
||||||
- Update to LLVM 15.0.7
|
|
||||||
|
|
||||||
* Fri Dec 09 2022 Konrad Kleine <kkleine@redhat.com> - 15.0.6-1
|
|
||||||
- 15.0.6 Release
|
|
||||||
|
|
||||||
* Fri Oct 28 2022 Konrad Kleine <kkleine@redhat.com> - 15.0.1-2
|
|
||||||
- Build libomp runtime library with gcc
|
|
||||||
|
|
||||||
* Thu Sep 29 2022 Konrad Kleine <kkleine@redhat.com> - 15.0.1-1
|
|
||||||
- 15.0.1 Release
|
|
||||||
|
|
||||||
* Wed Jul 20 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.6-1
|
|
||||||
- 14.0.6 Release
|
|
||||||
|
|
||||||
* Tue Jun 21 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.5-1
|
|
||||||
- 14.0.5 Release
|
|
||||||
|
|
||||||
* Mon Apr 25 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-1
|
|
||||||
- 14.0.0 Release
|
|
||||||
|
|
||||||
* Thu Feb 03 2022 Tom Stellard <tstellar@redhat.com> - 13.0.1-1
|
|
||||||
- 13.0.1 Release
|
|
||||||
|
|
||||||
* Tue Oct 12 2021 Timm Bäder <tbaeder@redhat.com> 13.0.0-1
|
|
||||||
- Release 13.0.0
|
|
||||||
|
|
||||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 12.0.1-2
|
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
||||||
Related: rhbz#1991688
|
|
||||||
|
|
||||||
* Tue Jul 13 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1-1
|
|
||||||
- 12.0.1 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
|
|
||||||
- Add -threads option to runtest.sh
|
|
||||||
|
|
||||||
* Thu Jun 28 2018 Tom Stellard <tstellar@redhat.com> - 6.0.1-1
|
|
||||||
- 6.0.1 Release
|
|
||||||
|
|
||||||
* Fri May 11 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.1.rc1
|
|
||||||
- 6.0.1-rc1 Release
|
|
||||||
|
|
||||||
* Wed Mar 28 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-3
|
|
||||||
- Add test package
|
|
||||||
|
|
||||||
* Wed Mar 28 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-2
|
|
||||||
- Enable libomptarget plugins
|
|
||||||
|
|
||||||
* Fri Mar 09 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-1
|
|
||||||
- 6.0.0 Release
|
|
||||||
|
|
||||||
* Tue Feb 13 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.3.rc2
|
|
||||||
- 6.0.0-rc2 Release
|
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-0.2.rc1
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jan 25 2018 Tom Stellard <tstellar@redhat.com> - 6.0.0-0.1.rc1
|
|
||||||
- 6.0.0-rc1 Release
|
|
||||||
|
|
||||||
* Thu Dec 21 2017 Tom Stellard <tstellar@redhat.com> - 5.0.1-1
|
|
||||||
- 5.0.1 Release.
|
|
||||||
|
|
||||||
* Mon May 15 2017 Tom Stellard <tstellar@redhat.com> - 5.0.0-1
|
|
||||||
- Initial version.
|
|
@ -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)
|
|
@ -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
|
|
2
sources
2
sources
@ -1,2 +0,0 @@
|
|||||||
SHA512 (openmp-18.1.8.src.tar.xz) = 7c2ca736524fb741112be247ac6be39cfe1dc92381c5e2997d97044ab9705c224ae5eabcf43b59cdec9a715a14227c6fb02cb2d1829ebc47b82d3af6e4d197d3
|
|
||||||
SHA512 (openmp-18.1.8.src.tar.xz.sig) = a7f4d5a1e439de1b6387605fd9ef36ec19ed4303555678328c7bdadf44e84592d90ee2c06858de0bb7d78e1e79195c3fa78157dd277e875ed4ece4f35ab5be15
|
|
@ -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,57 +0,0 @@
|
|||||||
#
|
|
||||||
# Build/PR gating tests for *LLVM 13*
|
|
||||||
#
|
|
||||||
# Imports and runs tests provided by Fedora LLVM git for the matching LLVM version.
|
|
||||||
#
|
|
||||||
# NOTE: *always* keep this file in sync with upstream, i.e. Fedora. Since we cannot "discover" a plan,
|
|
||||||
# we must duplicate at least some part of upstream plan setup, like `adjust` or `provision`. Not necessarily
|
|
||||||
# all steps, but if we do need some of them here, let's focus on making changes in upstream first, to preserve
|
|
||||||
# one source of truth. Once TMT learns to include whole plans, we could drop the copied content from here.
|
|
||||||
#
|
|
||||||
|
|
||||||
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: "libomp is not supported in s390x"
|
|
||||||
enabled: false
|
|
||||||
when: arch == s390x
|
|
||||||
|
|
||||||
# Unfortunately, TMT does not support more declarative approach, we need to run commands on our own.
|
|
||||||
- because: "On RHEL, CRB must be enabled to provide rarer packages"
|
|
||||||
when: >-
|
|
||||||
distro == rhel-9
|
|
||||||
or distro == rhel-8
|
|
||||||
prepare+:
|
|
||||||
- name: Enable CRB
|
|
||||||
how: shell
|
|
||||||
script: dnf config-manager --set-enabled rhel-CRB
|
|
||||||
|
|
||||||
- because: "On CentOS, CRB must be enabled to provide rarer packages"
|
|
||||||
when: >-
|
|
||||||
distro == centos
|
|
||||||
prepare+:
|
|
||||||
- name: Enable CRB
|
|
||||||
how: shell
|
|
||||||
script: dnf config-manager --set-enabled crb
|
|
||||||
|
|
||||||
discover:
|
|
||||||
- name: libomp-upstream-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"
|
|
Loading…
Reference in New Issue
Block a user