mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Moved buildParaView3.3-cvs to be on the PATH and added more path corrections
This commit is contained in:
@ -42,7 +42,7 @@ PARAVIEW_MAJOR_VERSION="3.3"
|
|||||||
VERBOSE=OFF
|
VERBOSE=OFF
|
||||||
INCLUDE_MPI=ON
|
INCLUDE_MPI=ON
|
||||||
MPI_MAX_PROCS=32
|
MPI_MAX_PROCS=32
|
||||||
INCLUDE_PYTHON=ON
|
INCLUDE_PYTHON=OFF
|
||||||
#PYTHON_LIBRARY="/usr/lib64/libpython2.5.so.1.0"
|
#PYTHON_LIBRARY="/usr/lib64/libpython2.5.so.1.0"
|
||||||
PYTHON_LIBRARY=""
|
PYTHON_LIBRARY=""
|
||||||
INCLUDE_MESA=OFF
|
INCLUDE_MESA=OFF
|
||||||
@ -232,6 +232,18 @@ installParaView ()
|
|||||||
-print
|
-print
|
||||||
fi
|
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
|
# create a softlink to the $PARAVIEW_OBJ_DIR/bin folder
|
||||||
# - workaround for chosen install location
|
# - workaround for chosen install location
|
||||||
echo " Creating paraview $PARAVIEW_MAJOR_VERSION soft link to /bin"
|
echo " Creating paraview $PARAVIEW_MAJOR_VERSION soft link to /bin"
|
||||||
|
|||||||
Reference in New Issue
Block a user