!41 修改/usr/lib64/openmpi/bin路径为/usr/bin
From: @wu-leilei Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
6e87f6306b
50
openmpi.spec
50
openmpi.spec
@ -1,6 +1,6 @@
|
||||
Name: openmpi
|
||||
Version: 2.1.1
|
||||
Release: 19
|
||||
Release: 20
|
||||
Summary: Open Source High Performance Computing
|
||||
License: BSD and MIT and Romio
|
||||
URL: http://www.open-mpi.org/
|
||||
@ -79,7 +79,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 \
|
||||
@ -149,7 +153,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}
|
||||
@ -158,15 +161,15 @@ make check
|
||||
%dir %{_libdir}/%{name}/share/openmpi
|
||||
%config(noreplace) %{_sysconfdir}/%{name_all}/*
|
||||
%{_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
|
||||
%{_libdir}/%{name}/bin/oshmem_info
|
||||
%{_libdir}/%{name}/bin/oshrun
|
||||
%{_libdir}/%{name}/bin/shmemrun
|
||||
%{_bindir}/mpiexec
|
||||
%{_bindir}/mpirun
|
||||
%{_bindir}/ompi*
|
||||
%{_bindir}/orte-*
|
||||
%{_bindir}/orted
|
||||
%{_bindir}/orterun
|
||||
%{_bindir}/oshmem_info
|
||||
%{_bindir}/oshrun
|
||||
%{_bindir}/shmemrun
|
||||
%{_libdir}/%{name}/lib/*.so.*
|
||||
%{_libdir}/%{name}/lib/openmpi/*
|
||||
%{_libdir}/%{name}/lib/mpi.jar
|
||||
@ -179,16 +182,16 @@ 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/oshcc
|
||||
%{_libdir}/%{name}/bin/oshfort
|
||||
%{_libdir}/%{name}/bin/shmemcc
|
||||
%{_libdir}/%{name}/bin/shmemfort
|
||||
%{_libdir}/%{name}/bin/mpijava*
|
||||
%{_bindir}/mpic*
|
||||
%{_bindir}/mpiCC
|
||||
%{_bindir}/mpif*
|
||||
%{_bindir}/opal*
|
||||
%{_bindir}/ortecc
|
||||
%{_bindir}/oshcc
|
||||
%{_bindir}/oshfort
|
||||
%{_bindir}/shmemcc
|
||||
%{_bindir}/shmemfort
|
||||
%{_bindir}/mpijava*
|
||||
%{_libdir}/%{name}/lib/*.so
|
||||
%{_libdir}/%{name}/lib/*.mod
|
||||
%{_libdir}/%{name}/lib/pkgconfig/
|
||||
@ -211,6 +214,9 @@ make check
|
||||
%{_mandir}/%{name_all}/man*/*
|
||||
|
||||
%changelog
|
||||
* Wed Aug 16 2023 wulei <wu_lei@hoperun.com> - 2.1.1-20
|
||||
- Modify the /usr/lib64/openmpi/bin path to /usr/bin
|
||||
|
||||
* Wed Apr 06 2022 konglidong <konglidong@uniontech.com> - 2.1.1-19
|
||||
- change Buildrequire from java-devel to java-1.8.0-openjdk-devel
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user