mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'master' of /home/noisy2/OpenFOAM/OpenFOAM-dev
This commit is contained in:
@ -235,12 +235,15 @@ installParaView ()
|
|||||||
|
|
||||||
cd $PARAVIEW_OBJ_DIR
|
cd $PARAVIEW_OBJ_DIR
|
||||||
|
|
||||||
# replace local links with ParaView_INST_DIR environment variables
|
# Replace PARAVIEW_SRC_DIR path with ParaView_INST_DIR
|
||||||
|
# environment variables
|
||||||
echo " Replacing path hard links"
|
echo " Replacing path hard links"
|
||||||
find . -iname \*.cmake -execdir sed -i \
|
find . -iname \*.cmake -execdir sed -i \
|
||||||
"s,$PARAVIEW_SRC_DIR,\$ENV{ParaView_INST_DIR},g" {} ';' \
|
"s,$PARAVIEW_SRC_DIR,\$ENV{ParaView_INST_DIR},g" {} ';' \
|
||||||
-print
|
-print
|
||||||
|
|
||||||
|
# Replace local OPENMPI_ARCH_PATH path with OPENMPI_ARCH_PATH
|
||||||
|
# environment variables
|
||||||
if [ "$INCLUDE_MPI" = ON ]; then
|
if [ "$INCLUDE_MPI" = ON ]; then
|
||||||
find . -iname \*.cmake -execdir sed -i \
|
find . -iname \*.cmake -execdir sed -i \
|
||||||
"s,$OPENMPI_ARCH_PATH,\$ENV{OPENMPI_ARCH_PATH},g" {} ';' \
|
"s,$OPENMPI_ARCH_PATH,\$ENV{OPENMPI_ARCH_PATH},g" {} ';' \
|
||||||
|
|||||||
Reference in New Issue
Block a user