From: Paul RASCLE Date: Thu, 26 Apr 2018 16:05:04 +0000 (+0200) Subject: application parameters for examples X-Git-Tag: V9_2_0a2^2~2^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6c0594d6ab1a888ce082cee1f87be2f1464f50d0;p=tools%2Fyacsgen.git application parameters for examples --- diff --git a/Examples/build.sh b/Examples/build.sh index 23787cb..b002ccd 100755 --- a/Examples/build.sh +++ b/Examples/build.sh @@ -10,7 +10,8 @@ script_dir=`dirname $0` cd $script_dir -list_dirs="calcium1 calcium2 cpp1 cpp2 cppgui1 fort1 fort2 pydoc1 pygui1 pyth1 pyth2 types1 mpi1 parahxx1 hxx1" +list_dirs="calcium1 calcium2 cpp1 cpp2 cppgui1 fort1 fort2 pydoc1 pygui1 pyth1 pyth2 types1" +#" mpi1 parahxx1 hxx1" for dir in $list_dirs ; do cd $dir echo Building $dir ... diff --git a/Examples/clean.sh b/Examples/clean.sh index 475c693..cf7842d 100755 --- a/Examples/clean.sh +++ b/Examples/clean.sh @@ -4,7 +4,8 @@ script_dir=`dirname $0` cd $script_dir -list_dirs="calcium1 calcium2 cpp1 cpp2 cppgui1 fort1 fort2 pydoc1 pygui1 pyth1 pyth2 types1 mpi1 parahxx1 hxx1" +list_dirs="calcium1 calcium2 cpp1 cpp2 cppgui1 fort1 fort2 pydoc1 pygui1 pyth1 pyth2 types1" +#" mpi1 parahxx1 hxx1" for dir in $list_dirs ; do cd $dir diff --git a/Examples/context.py b/Examples/context.py index 80803e7..8f07bf1 100644 --- a/Examples/context.py +++ b/Examples/context.py @@ -20,7 +20,8 @@ import os,sys SALOME_ROOT=os.getenv("SALOME_DIR") -SALOME_PREREQ=os.path.join(SALOME_ROOT, "salome_prerequisites.sh") +SALOME_PACKAGES=os.getenv("SALOME_DIR") +SALOME_PREREQ=os.path.join(SALOME_PACKAGES, "salome_prerequisites.sh") #SALOME_PREREQ=os.path.join(SALOME_ROOT, "salome_prerequisites_appli.sh") KERNEL_ROOT_DIR=os.getenv("KERNEL_ROOT_DIR","") diff --git a/Examples/exec.sh b/Examples/exec.sh index d035773..f1c323d 100755 --- a/Examples/exec.sh +++ b/Examples/exec.sh @@ -4,10 +4,11 @@ com=$* # Modify to your SALOME installation -export SALOME_DIR=/local00/home/I35256/salome/install/V7_main_git +export SALOME_DIR=path_to_appli +export SALOME_PACKAGES=path_to_salome_prerequisites.sh -source $SALOME_DIR/salome_prerequisites.sh -source $SALOME_DIR/salome_modules.sh +source $SALOME_PACKAGES/salome_prerequisites.sh +source $SALOME_PACKAGES/salome_modules.sh echo execution: $com $com