SHA256
1
0
forked from pool/vtk

Accepting request 536369 from home:dimstar:Factory

- Setup MPI environment before building.

- Setup MPI environment before building.

OBS-URL: https://build.opensuse.org/request/show/536369
OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=104
This commit is contained in:
2017-10-25 08:37:28 +00:00
committed by Git OBS Bridge
parent 6d5fcfd660
commit 41a160bb54
4 changed files with 18 additions and 0 deletions

View File

@@ -310,6 +310,10 @@ grep -rl '\.\./\.\./\.\./\.\./VTKData' . | xargs -r perl -pi -e's,\.\./\.\./\.\.
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
if [ -f %{_libdir}/mpi/gcc/openmpi/bin/mpivars.sh ]; then
source %{_libdir}/mpi/gcc/openmpi/bin/mpivars.sh
fi
mkdir build
pushd build
cmake .. \