import libomp-14.0.6-2.module+el8.7.0+16313+2fe5fb1f
This commit is contained in:
parent
115295f740
commit
c7423b6e3d
@ -9,9 +9,15 @@
|
|||||||
%global libomp_arch %{_arch}
|
%global libomp_arch %{_arch}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%ifarch %{ix86}
|
||||||
|
%bcond_with testpkg
|
||||||
|
%else
|
||||||
|
%bcond_without testpkg
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: libomp
|
Name: libomp
|
||||||
Version: %{libomp_version}%{?rc_ver:~rc%{rc_ver}}
|
Version: %{libomp_version}%{?rc_ver:~rc%{rc_ver}}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: OpenMP runtime for clang
|
Summary: OpenMP runtime for clang
|
||||||
|
|
||||||
License: NCSA
|
License: NCSA
|
||||||
@ -64,6 +70,8 @@ Requires: clang-resource-filesystem%{?isa} = %{version}
|
|||||||
%description devel
|
%description devel
|
||||||
OpenMP header files.
|
OpenMP header files.
|
||||||
|
|
||||||
|
%if %{with testpkg}
|
||||||
|
|
||||||
%package test
|
%package test
|
||||||
Summary: OpenMP regression tests
|
Summary: OpenMP regression tests
|
||||||
Requires: %{name}%{?isa} = %{version}-%{release}
|
Requires: %{name}%{?isa} = %{version}-%{release}
|
||||||
@ -77,6 +85,8 @@ Requires: python3-lit
|
|||||||
%description test
|
%description test
|
||||||
OpenMP regression tests
|
OpenMP regression tests
|
||||||
|
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
||||||
%autosetup -n %{libomp_srcdir} -p2
|
%autosetup -n %{libomp_srcdir} -p2
|
||||||
@ -107,6 +117,7 @@ cd %{_vpath_builddir}
|
|||||||
cd %{_vpath_builddir}
|
cd %{_vpath_builddir}
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
|
||||||
|
%if %{with testpkg}
|
||||||
# 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/
|
||||||
@ -131,6 +142,8 @@ echo "lit_config.load_config(config, '%{lit_fedora_cfg}')" >> %{buildroot}%{lit_
|
|||||||
install -d %{buildroot}%{_libexecdir}/tests/libomp
|
install -d %{buildroot}%{_libexecdir}/tests/libomp
|
||||||
install -m 0755 %{SOURCE3} %{buildroot}%{_libexecdir}/tests/libomp
|
install -m 0755 %{SOURCE3} %{buildroot}%{_libexecdir}/tests/libomp
|
||||||
|
|
||||||
|
%endif
|
||||||
|
|
||||||
# Remove static libraries with equivalent shared libraries
|
# Remove static libraries with equivalent shared libraries
|
||||||
rm -rf %{buildroot}%{_libdir}/libarcher_static.a
|
rm -rf %{buildroot}%{_libdir}/libarcher_static.a
|
||||||
|
|
||||||
@ -163,11 +176,16 @@ cd %{_vpath_builddir}
|
|||||||
%{_includedir}/ompt-multiplex.h
|
%{_includedir}/ompt-multiplex.h
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{with testpkg}
|
||||||
%files test
|
%files test
|
||||||
%{_datadir}/libomp
|
%{_datadir}/libomp
|
||||||
%{_libexecdir}/tests/libomp/
|
%{_libexecdir}/tests/libomp/
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Tue Jun 28 2022 Tom Stellard <tstellar@redhat.com> - 14.0.6-1
|
||||||
- 14.0.6 Release
|
- 14.0.6 Release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user