Better MPI maintain.
This commit is contained in:
parent
a779762ff7
commit
7a91c293dc
@ -241,7 +241,8 @@ rm -rf %{buildroot}
|
||||
# MPI install libs only
|
||||
%define installing() \
|
||||
make install DESTDIR=%{buildroot}%{_libdir}/$MPI_COMPILER_NAME -C %{_target_platform}_$MPI_COMPILER_NAME INSTALL="install -p"; \
|
||||
mv %{buildroot}%{_libdir}/$MPI_COMPILER_NAME/%{_libdir} %{buildroot}%{_libdir}/$MPI_COMPILER_NAME/lib; \
|
||||
mkdir -p %{buildroot}%{_libdir}/$MPI_COMPILER_NAME/lib/ \
|
||||
mv %{buildroot}%{_libdir}/$MPI_COMPILER_NAME/%{_libdir}/libmgl* %{buildroot}%{_libdir}/$MPI_COMPILER_NAME/lib/; \
|
||||
mkdir -p %{buildroot}%{_includedir}/$MPI_COMPILER/mgl2; \
|
||||
mv %{buildroot}%{_libdir}/$MPI_COMPILER_NAME/%{_includedir}/mgl2/* %{buildroot}%{_includedir}/$MPI_COMPILER/mgl2/; \
|
||||
rm -f %{buildroot}%{_libdir}/$MPI_COMPILER_NAME/lib/*.a; \
|
||||
|
Loading…
Reference in New Issue
Block a user