Update to release 5.0.9
Resolves: RHEL-95332, RHEL-99262 Signed-off-by: Kamal Heib <kheib@redhat.com>
This commit is contained in:
parent
746321ef44
commit
ed0a0e4ad8
1
.gitignore
vendored
1
.gitignore
vendored
@ -65,3 +65,4 @@ openmpi-1.4.1-RH.tar.bz2
|
||||
/openmpi-5.0.0.tar.bz2
|
||||
/openmpi-5.0.1.tar.bz2
|
||||
/openmpi-5.0.2.tar.bz2
|
||||
/openmpi-5.0.9.tar.bz2
|
||||
|
||||
44
openmpi.spec
44
openmpi.spec
@ -5,11 +5,6 @@
|
||||
|
||||
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
||||
|
||||
%if 0%{?fedora} >= 32 || 0%{?rhel} >= 8
|
||||
%bcond_with python2
|
||||
%else
|
||||
%bcond_without python2
|
||||
%endif
|
||||
|
||||
%ifarch aarch64 ppc64le x86_64
|
||||
%bcond_without ucx
|
||||
@ -58,8 +53,8 @@
|
||||
|
||||
Name: openmpi%{?_cc_name_suffix}
|
||||
Epoch: 2
|
||||
Version: 5.0.2
|
||||
Release: 7%{?dist}
|
||||
Version: 5.0.9
|
||||
Release: 1%{?dist}
|
||||
Summary: Open Message Passing Interface
|
||||
License: BSD and MIT and Romio
|
||||
URL: http://www.open-mpi.org/
|
||||
@ -206,17 +201,6 @@ Contains development wrapper for compiling Java with openmpi.
|
||||
# particular package, version, compiler
|
||||
%global namearch openmpi-%{_arch}%{?_cc_name_suffix}
|
||||
|
||||
%if %{with python2}
|
||||
%package -n python2-openmpi
|
||||
Summary: OpenMPI support for Python 2
|
||||
BuildRequires: python2-devel
|
||||
Requires: %{name} = %{epoch}:%{version}-%{release}
|
||||
Requires: python(abi) = %{python2_version}
|
||||
|
||||
%description -n python2-openmpi
|
||||
OpenMPI support for Python 2.
|
||||
%endif
|
||||
|
||||
%package -n python%{python3_pkgversion}-openmpi
|
||||
Summary: OpenMPI support for Python 3
|
||||
Requires: %{name} = %{epoch}:%{version}-%{release}
|
||||
@ -278,11 +262,6 @@ sed 's#@LIBDIR@#%{_libdir}/%{name}#;
|
||||
s#@FMODDIR@#%{_fmoddir}/%{name}#;
|
||||
s#@INCDIR@#%{_includedir}/%{namearch}#;
|
||||
s#@MANDIR@#%{_mandir}/%{namearch}#;
|
||||
%if %{with python2}
|
||||
s#@PY2SITEARCH@#%{python2_sitearch}/%{name}#;
|
||||
%else
|
||||
/@PY2SITEARCH@/d;
|
||||
%endif
|
||||
s#@PY3SITEARCH@#%{python3_sitearch}/%{name}#;
|
||||
s#@COMPILER@#openmpi-%{_arch}%{?_cc_name_suffix}#;
|
||||
s#@SUFFIX@#%{?_cc_name_suffix}_openmpi#' \
|
||||
@ -318,19 +297,11 @@ sed -i -e s/-ldl// -e s/-lhwloc// \
|
||||
%{buildroot}%{_libdir}/%{name}/share/openmpi/*-wrapper-data.txt
|
||||
|
||||
# install .pth files
|
||||
%if %{with python2}
|
||||
mkdir -p %{buildroot}/%{python2_sitearch}/%{name}
|
||||
install -pDm0644 %{SOURCE2} %{buildroot}/%{python2_sitearch}/openmpi.pth
|
||||
%endif
|
||||
mkdir -p %{buildroot}/%{python3_sitearch}/%{name}
|
||||
install -pDm0644 %{SOURCE3} %{buildroot}/%{python3_sitearch}/openmpi.pth
|
||||
|
||||
%check
|
||||
fail=1
|
||||
# Failing on s390x - https://github.com/open-mpi/ompi/issues/10988
|
||||
%ifarch s390x
|
||||
fail=0
|
||||
%endif
|
||||
make check || ( cat test/*/test-suite.log && exit $fail )
|
||||
|
||||
%files
|
||||
@ -340,7 +311,6 @@ make check || ( cat test/*/test-suite.log && exit $fail )
|
||||
%dir %{_libdir}/%{name}/bin
|
||||
%dir %{_libdir}/%{name}/lib
|
||||
%dir %{_libdir}/%{name}/lib/openmpi
|
||||
%dir %{_libdir}/%{name}/lib/openmpi/cmake
|
||||
%dir %{_libdir}/%{name}/include
|
||||
%dir %{_mandir}/%{namearch}
|
||||
%dir %{_mandir}/%{namearch}/man*
|
||||
@ -433,18 +403,16 @@ make check || ( cat test/*/test-suite.log && exit $fail )
|
||||
%{_mandir}/%{namearch}/man1/mpijavac.1.gz
|
||||
%endif
|
||||
|
||||
%if %{with python2}
|
||||
%files -n python2-openmpi
|
||||
%dir %{python2_sitearch}/%{name}
|
||||
%{python2_sitearch}/openmpi.pth
|
||||
%endif
|
||||
|
||||
%files -n python%{python3_pkgversion}-openmpi
|
||||
%dir %{python3_sitearch}/%{name}
|
||||
%{python3_sitearch}/openmpi.pth
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Feb 05 2026 Kamal Heib <kheib@redhat.com> - 2:5.0.9-1
|
||||
- Update to release 5.0.9
|
||||
- Resolves: RHEL-95332, RHEL-99262
|
||||
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 2:5.0.2-7
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (openmpi-5.0.2.tar.bz2) = 0812608dec8b4aaf5da9cd02a282595ccb31956138dd5bdc1da2443204b8de238081b59d45ac2bc57596300fdc097fe5cbf72590669f62c1b38490b6075cff4c
|
||||
SHA512 (openmpi-5.0.9.tar.bz2) = d7f700d6f412c6ff6d2f0d71da6dff9c88039e4c0693ff4f68c9cf4e9705744c362ac7afa916c7d7c6389832a1c8b4681b567a8521df3abdab22c581157cc5d0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user