From 41a160bb5445ff50627cd7152eecd32a448312dc6b25e472b3522efaf65845e6 Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Wed, 25 Oct 2017 08:37:28 +0000 Subject: [PATCH] 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 --- vtk-compat_gl.changes | 5 +++++ vtk-compat_gl.spec | 4 ++++ vtk.changes | 5 +++++ vtk.spec | 4 ++++ 4 files changed, 18 insertions(+) diff --git a/vtk-compat_gl.changes b/vtk-compat_gl.changes index 47e17b3..3786913 100644 --- a/vtk-compat_gl.changes +++ b/vtk-compat_gl.changes @@ -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 diff --git a/vtk-compat_gl.spec b/vtk-compat_gl.spec index 6d4a5eb..8865b3a 100644 --- a/vtk-compat_gl.spec +++ b/vtk-compat_gl.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 .. \ diff --git a/vtk.changes b/vtk.changes index 47e17b3..3786913 100644 --- a/vtk.changes +++ b/vtk.changes @@ -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 diff --git a/vtk.spec b/vtk.spec index 21ccc52..c5c7bbe 100644 --- a/vtk.spec +++ b/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 .. \