Fix MPI paths
This commit is contained in:
parent
94f047a585
commit
e132ea4fe9
12
petsc.spec
12
petsc.spec
@ -958,21 +958,21 @@ make -C buildmpich_dir test
|
||||
%if %{with openmpi}
|
||||
%files openmpi
|
||||
%license buildopenmpi_dir/LICENSE
|
||||
%{_libmpidir}/libpetsc.so.*
|
||||
%{_libdir}/openmpi/lib/libpetsc.so.*
|
||||
|
||||
%files openmpi-devel
|
||||
%{_libmpidir}/libpetsc.so
|
||||
%{_incmpidir}/%{name}/
|
||||
%{_libdir}/openmpi/lib/libpetsc.so
|
||||
%{_includedir}/openmpi-%{_arch}/%{name}/
|
||||
%endif
|
||||
|
||||
%if %{with mpich}
|
||||
%files mpich
|
||||
%license buildmpich_dir/LICENSE
|
||||
%{_libmpichdir}/libpetsc.so.*
|
||||
%{_libdir}/mpich/lib/libpetsc.so.*
|
||||
|
||||
%files mpich-devel
|
||||
%{_libmpichdir}/libpetsc.so
|
||||
%{_incmpichdir}/%{name}/
|
||||
%{_libdir}/mpich/lib/libpetsc.so
|
||||
%{_includedir}/mpich-%{_arch}/%{name}/
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user