* bin/tools/buildParaViewFunctions:

replace the $OPENMPI_ARCH_PATH with $ENV{OPENMPI_ARCH_PATH} in the *.cmake files.
Note this change is specific to OpenMPI and will need genaralising, Andy?
This commit is contained in:
henry 2008-06-03 21:51:07 +01:00
parent bab7f11792
commit 2ac0e4bf1c

View File

@ -241,6 +241,12 @@ installParaView ()
"s,$PARAVIEW_SRC_DIR,\$ENV{ParaView_INST_DIR},g" {} ';' \
-print
if [ "$INCLUDE_MPI" = ON ]; then
find . -iname \*.cmake -execdir sed -i \
"s,$OPENMPI_ARCH_PATH,\$ENV{OPENMPI_ARCH_PATH},g" {} ';' \
-print
fi
# create a softlink to the $PARAVIEW_OBJ_DIR/bin folder
# - workaround for chosen install location
echo " Creating paraview $PARAVIEW_MAJOR_VERSION soft link to /bin"