Modify the /usr/lib64/openmpi/bin path to /usr/bin
(cherry picked from commit 01fd996cc7b841576d1f6e16820f6d578d9923fd)
This commit is contained in:
parent
ba45a8c410
commit
2cd07ed34f
40
openmpi.spec
40
openmpi.spec
@ -1,6 +1,6 @@
|
||||
Name: openmpi
|
||||
Version: 4.1.4
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: Open Source High Performance Computing
|
||||
License: BSD-3-Clause
|
||||
URL: http://www.open-mpi.org/
|
||||
@ -70,7 +70,11 @@ This contains man files for the using of openmpi.
|
||||
%autosetup -n openmpi-%{version} -p1
|
||||
|
||||
%build
|
||||
./configure --prefix=%{_libdir}/%{name} \
|
||||
./configure \
|
||||
--bindir=%{_bindir} \
|
||||
--libdir=%{_libdir}/%{name}/lib \
|
||||
--datadir=%{_libdir}/%{name}/share \
|
||||
--docdir=%{_libdir}/%{name}/share/doc/openmpi \
|
||||
--includedir=%{_includedir}/%{name_all} \
|
||||
--sysconfdir=%{_sysconfdir}/%{name_all} \
|
||||
--disable-silent-rules \
|
||||
@ -155,7 +159,6 @@ make check
|
||||
%license LICENSE opal/mca/event/libevent2022/libevent/LICENSE
|
||||
%dir %{_libdir}/%{name}
|
||||
%dir %{_sysconfdir}/%{name_all}
|
||||
%dir %{_libdir}/%{name}/bin
|
||||
%dir %{_libdir}/%{name}/lib
|
||||
%dir %{_libdir}/%{name}/lib/openmpi
|
||||
%dir %{_mandir}/%{name_all}
|
||||
@ -165,12 +168,12 @@ make check
|
||||
%config(noreplace) %{_sysconfdir}/%{name_all}/*
|
||||
%config(noreplace) /etc/ld.so.conf.d/*
|
||||
%{_datadir}/modulefiles/mpi/
|
||||
%{_libdir}/%{name}/bin/mpiexec
|
||||
%{_libdir}/%{name}/bin/mpirun
|
||||
%{_libdir}/%{name}/bin/ompi*
|
||||
%{_libdir}/%{name}/bin/orte-*
|
||||
%{_libdir}/%{name}/bin/orted
|
||||
%{_libdir}/%{name}/bin/orterun
|
||||
%{_bindir}/mpiexec
|
||||
%{_bindir}/mpirun
|
||||
%{_bindir}/ompi*
|
||||
%{_bindir}/orte-*
|
||||
%{_bindir}/orted
|
||||
%{_bindir}/orterun
|
||||
%{_libdir}/%{name}/lib/*.so.*
|
||||
%{_libdir}/%{name}/lib/openmpi/*
|
||||
%{_libdir}/%{name}/lib/mpi.jar
|
||||
@ -183,14 +186,14 @@ make check
|
||||
%dir %{_includedir}/%{name_all}
|
||||
%{_includedir}/%{name_all}/*
|
||||
%{_libdir}/%{name}/share/doc/
|
||||
%{_libdir}/%{name}/bin/mpic*
|
||||
%{_libdir}/%{name}/bin/mpiCC
|
||||
%{_libdir}/%{name}/bin/mpif*
|
||||
%{_libdir}/%{name}/bin/opal*
|
||||
%{_libdir}/%{name}/bin/ortecc
|
||||
%{_libdir}/%{name}/bin/aggregate_profile.pl
|
||||
%{_libdir}/%{name}/bin/profile2mat.pl
|
||||
%{_libdir}/%{name}/bin/mpijava*
|
||||
%{_bindir}/mpic*
|
||||
%{_bindir}/mpiCC
|
||||
%{_bindir}/mpif*
|
||||
%{_bindir}/opal*
|
||||
%{_bindir}/ortecc
|
||||
%{_bindir}/aggregate_profile.pl
|
||||
%{_bindir}/profile2mat.pl
|
||||
%{_bindir}/mpijava*
|
||||
%{_libdir}/%{name}/lib/*.so
|
||||
%{_libdir}/%{name}/lib/*.mod
|
||||
%{_libdir}/%{name}/lib/pkgconfig/
|
||||
@ -208,6 +211,9 @@ make check
|
||||
%{_mandir}/%{name_all}/man*/*
|
||||
|
||||
%changelog
|
||||
* Wed Aug 16 2023 wulei <wu_lei@hoperun.com> - 4.1.4-3
|
||||
- Modify the /usr/lib64/openmpi/bin path to /usr/bin
|
||||
|
||||
* Fri Jul 29 2022 wangkai <wangkai385@h-partners.com> - 4.1.4-2
|
||||
- Reslove conflict with pmix-devel and update license
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user