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:
parent
6d5fcfd660
commit
41a160bb54
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 24 11:55:17 UTC 2017 - dimstar@opensuse.org
|
||||
|
||||
- Setup MPI environment before building.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 12 20:47:27 UTC 2017 - jengelh@inai.de
|
||||
|
||||
|
@ -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 .. \
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 24 11:55:17 UTC 2017 - dimstar@opensuse.org
|
||||
|
||||
- Setup MPI environment before building.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 12 20:47:27 UTC 2017 - jengelh@inai.de
|
||||
|
||||
|
4
vtk.spec
4
vtk.spec
@ -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 .. \
|
||||
|
Loading…
Reference in New Issue
Block a user