[paraview/epel7] Set PYTHONPATH if needed for mpich build
Orion Poplawski
orion at fedoraproject.org
Thu Oct 2 20:29:36 UTC 2014
commit 6cf0f31967916bf318dce939bbaf106f554914e4
Author: Orion Poplawski <orion at cora.nwra.com>
Date: Thu Oct 2 14:29:21 2014 -0600
Set PYTHONPATH if needed for mpich build
paraview.spec | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/paraview.spec b/paraview.spec
index 08b7411..8d9168b 100644
--- a/paraview.spec
+++ b/paraview.spec
@@ -325,6 +325,9 @@ popd
mkdir fedora-mpich
pushd fedora-mpich
%{_mpich_load}
+# EL7 mpich module doesn't set PYTHONPATH
+# https://bugzilla.redhat.com/show_bug.cgi?id=1148992
+[ -z "$PYTHONPATH" ] && export PYTHONPATH=$MPI_PYTHON_SITEARCH
cmake .. \
-DCMAKE_INSTALL_PREFIX:PATH=%{_libdir}/mpich \
-DVTK_INSTALL_INCLUDE_DIR:PATH=include/paraview \
More information about the scm-commits
mailing list