Moved buildParaView3.3-cvs to be on the PATH and added more path corrections

This commit is contained in:
henry
2008-07-10 18:44:31 +01:00
parent 60c3a635ef
commit b48f6ac2d3
2 changed files with 13 additions and 1 deletions

View File

@ -42,7 +42,7 @@ PARAVIEW_MAJOR_VERSION="3.3"
VERBOSE=OFF
INCLUDE_MPI=ON
MPI_MAX_PROCS=32
INCLUDE_PYTHON=ON
INCLUDE_PYTHON=OFF
#PYTHON_LIBRARY="/usr/lib64/libpython2.5.so.1.0"
PYTHON_LIBRARY=""
INCLUDE_MESA=OFF

View File

@ -232,6 +232,18 @@ installParaView ()
-print
fi
# Replace local CMAKE_HOME path with CMAKE_HOME
# environment variables
find . -iname '*cmake*' -execdir sed -i \
"s,$CMAKE_HOME,\$ENV{CMAKE_HOME},g" {} ';' \
-print
# Replace local WM_COMPILER_DIR path with WM_COMPILER_DIR
# environment variables
find . -iname '*cmake*' -execdir sed -i \
"s,$WM_COMPILER_DIR,\$ENV{WM_COMPILER_DIR},g" {} ';' \
-print
# 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"