From: bri Date: Mon, 10 Feb 2014 14:19:19 +0000 (+0400) Subject: - X-Git-Tag: Delivery_V1_0_2013_07_12~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bb060b12cbf455282415b5b57a6cbc29f5697162;p=tools%2Fsimanio.git - --- diff --git a/scripts/README b/scripts/README index d243642..ccaa094 100644 --- a/scripts/README +++ b/scripts/README @@ -10,6 +10,7 @@ cvs -d :pserver:@cvs.opencascade.com:/home/server/cvs/GEOM checkout - cvs -d :pserver:@cvs.opencascade.com:/home/server/cvs/MED checkout -r MED_SRC cvs -d :pserver:@cvs.opencascade.com:/home/server/cvs/SMESH checkout -r SMESH_SRC cvs -d :pserver:@cvs.opencascade.com:/home/server/cvs/EXAMPLES checkout -r PYHELLO1_SRC +(rename the directory PYHELLO1_SRC to PYHELLO_SRC) where is : "BR_siman_phase1" if you are based on SALOME 6.5.0 @@ -20,6 +21,7 @@ wso2-wsf-cpp-2.1.0_debian60-64.tgz wso2-wsf-cpp-2.1.0_mandriva_2010-64.tgz 3. Copy the required scripts from SIMANIO_SRC/scripts directory to root directory (../..) and adjust them as necessary +For Mandriva 2010-64 rename and use env_build_mandiva-2010-64.sh env_products_mandriva-2010-64.sh. This README files is also delivered in SIMANIO_SRC/scripts directory 4. Build SIMANIO_SRC using these scripts as following : diff --git a/scripts/env_build_mandiva-2010-64.sh b/scripts/env_build_mandiva-2010-64.sh new file mode 100644 index 0000000..4b15ced --- /dev/null +++ b/scripts/env_build_mandiva-2010-64.sh @@ -0,0 +1,838 @@ +########################################################################## +# Functions exporta and exportp are used to append/prepend correspondingly +# one directory or a set of directories separated by semicolon symbol (':') +# to the environment variables like PATH, LD_LIBRARY_PATH, PYTHONPATH, +# LD_RUN_PATH etc. +# The main purpose is to replace default setenv command behavior: +# exporta, exportp also remove duplicated entries, shortening in that way +# the environment variables. +# If some directory being added is already included into the variable +# nothing is done for it. +# Note, that these functions work some slower that setenv command itself. +# +#### cleandup ### +# appends/prepends set of directories (second parameter) +# to the another set of directories (first parameter) and +# removes duplicated entries; +# the third parameter defines the mode: 0 - append, 1 - prepend +cleandup() { +out_var=`echo $1 $2 | awk -v dir=$3 '{ \ + na = split($2,a,":"); \ + k1=0; \ + bbb[k1++]=""; \ + ccc[""]; \ + if($1 != "") { \ + nb = split($1,b,":"); \ + for(i=1;i<=nb;i++) { \ + if(!(b[i] in ccc) ) { \ + ccc[b[i]]; \ + bbb[k1++]=b[i]; \ + }; \ + }; \ + }; \ + k2=0; \ + aaa[k2++]=""; \ + for(i=1;i<=na;i++) { \ + if(!(a[i] in ccc)) { \ + ccc[a[i]]; \ + aaa[k2++]=a[i]; \ + }; \ + }; \ + ORS=":"; \ + if(dir) { \ + for(i=1;ivx=`grep -e "^AC_INIT" KERNEL_SRC/configure.in.base | sed -e "s%.*\[\([[:digit:].]*\)\].*%\1%g"` + fi +elif [ -e KERNEL_SRC/CMakeLists.txt ] ; then + ver_maj=`cat KERNEL_SRC/CMakeLists.txt | grep SET\(VERSION_MAJOR | sed -e "s%[A-Z_() ]%%g"` + ver_min=`cat KERNEL_SRC/CMakeLists.txt | grep SET\(VERSION_MINOR | sed -e "s%[A-Z_() ]%%g"` + ver_maintenance=`cat KERNEL_SRC/CMakeLists.txt | grep SET\(VERSION_MAINTENANCE | sed -e "s%[A-Z_() ]%%g"` + vx="${ver_maj}.${ver_min}.${ver_maintenance}" +fi +if [ "$vx" != "" ] ; then + vx="_$vx" +fi + +#echo vx ================== ${vx} +#exit + +#------ KERNEL ------ +export KERNEL_ROOT_DIR=${INST_ROOT}/KERNEL${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${KERNEL_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${KERNEL_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${KERNEL_ROOT_DIR}/bin/salome:${KERNEL_ROOT_DIR}/lib/salome:${KERNEL_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ KERNEL_src ------ +export KERNEL_SRC_DIR=${INST_ROOT}/KERNEL_SRC +## +#------ GUI ------ +export GUI_ROOT_DIR=${INST_ROOT}/GUI${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${GUI_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${GUI_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${GUI_ROOT_DIR}/bin/salome:${GUI_ROOT_DIR}/lib/salome:${GUI_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + export VTK_AUTOLOAD_PATH=${GUI_ROOT_DIR}/lib/paraview + fi +fi +## +#------ GUI_src ------ +export GUI_SRC_DIR=${INST_ROOT}/GUI_SRC +## +#------ GEOM ------ +export GEOM_ROOT_DIR=${INST_ROOT}/GEOM${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${GEOM_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${GEOM_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${GEOM_ROOT_DIR}/bin/salome:${GEOM_ROOT_DIR}/lib/salome:${GEOM_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ GEOM_src ------ +export GEOM_SRC_DIR=${INST_ROOT}/GEOM_SRC +## +#------ MED ------ +export MED_ROOT_DIR=${INST_ROOT}/MED${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${MED_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${MED_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${MED_ROOT_DIR}/bin/salome:${MED_ROOT_DIR}/lib/salome:${MED_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + export AM2CMAKE_FORCE_GENERATION=1 + fi +fi +## +#------ MED_src ------ +export MED_SRC_DIR=${INST_ROOT}/MED_SRC +## +#------ SMESH ------ +export SMESH_ROOT_DIR=${INST_ROOT}/SMESH${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${SMESH_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${SMESH_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${SMESH_ROOT_DIR}/bin/salome:${SMESH_ROOT_DIR}/lib/salome:${SMESH_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ SMESH_src ------ +export SMESH_SRC_DIR=${INST_ROOT}/SMESH_SRC +## +#------ VISU ------ +export VISU_ROOT_DIR=${INST_ROOT}/VISU${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${VISU_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${VISU_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${VISU_ROOT_DIR}/bin/salome:${VISU_ROOT_DIR}/lib/salome:${VISU_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ VISU_src ------ +export VISU_SRC_DIR=${INST_ROOT}/VISU_SRC +## +#------ PARAVIS ------ +export PARAVIS_ROOT_DIR=${INST_ROOT}/PARAVIS${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${PARAVIS_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${PARAVIS_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${PARAVIS_ROOT_DIR}/bin/salome:${PARAVIS_ROOT_DIR}/lib/salome:${PARAVIS_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + export PV_PLUGIN_PATH=${PARAVIS_ROOT_DIR}/lib/paraview:${PV_PLUGIN_PATH} + fi +fi +## +#------ PARAVIS_src ------ +export PARAVIS_SRC_DIR=${INST_ROOT}/PARAVIS_SRC +export ACCEPT_PARAVIS_WARNINGS=1 +## +#------ HEXABLOCK ------ +export HEXABLOCK_ROOT_DIR=${INST_ROOT}/HEXABLOCK${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${HEXABLOCK_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${HEXABLOCK_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${HEXABLOCK_ROOT_DIR}/bin/salome:${HEXABLOCK_ROOT_DIR}/lib/salome:${HEXABLOCK_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ HEXABLOCK_src ------ +export HEXABLOCK_SRC_DIR=${INST_ROOT}/HEXABLOCK_SRC +## +#------ HEXABLOCKPLUGIN ------ +export HEXABLOCKPLUGIN_ROOT_DIR=${INST_ROOT}/HEXABLOCKPLUGIN${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp LD_LIBRARY_PATH ${HEXABLOCKPLUGIN_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${HEXABLOCKPLUGIN_ROOT_DIR}/lib/salome:${HEXABLOCKPLUGIN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ HEXABLOCKPLUGIN_src ------ +export HEXABLOCKPLUGIN_SRC_DIR=${INST_ROOT}/HEXABLOCKPLUGIN_SRC +## +#------ NETGENPLUGIN ------ +export NETGENPLUGIN_ROOT_DIR=${INST_ROOT}/NETGENPLUGIN${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp LD_LIBRARY_PATH ${NETGENPLUGIN_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${NETGENPLUGIN_ROOT_DIR}/lib/salome:${NETGENPLUGIN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ NETGENPLUGIN_src ------ +export NETGENPLUGIN_SRC_DIR=${INST_ROOT}/NETGENPLUGIN_SRC +## +#------ GHS3DPLUGIN ------ +export GHS3DPLUGIN_ROOT_DIR=${INST_ROOT}/GHS3DPLUGIN${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp LD_LIBRARY_PATH ${GHS3DPLUGIN_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${GHS3DPLUGIN_ROOT_DIR}/lib/salome:${GHS3DPLUGIN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ GHS3DPLUGIN_src ------ +export GHS3DPLUGIN_SRC_DIR=${INST_ROOT}/GHS3DPLUGIN_SRC +## +#------ GHS3DPRLPLUGIN ------ +export GHS3DPRLPLUGIN_ROOT_DIR=${INST_ROOT}/GHS3DPRLPLUGIN${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${GHS3DPRLPLUGIN_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${GHS3DPRLPLUGIN_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${GHS3DPRLPLUGIN_ROOT_DIR}/bin/salome:${GHS3DPRLPLUGIN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ GHS3DPRLPLUGIN_src ------ +export GHS3DPRLPLUGIN_SRC_DIR=${INST_ROOT}/GHS3DPRLPLUGIN_SRC +## +#------ BLSURFPLUGIN ------ +export BLSURFPLUGIN_ROOT_DIR=${INST_ROOT}/BLSURFPLUGIN${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${BLSURFPLUGIN_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${BLSURFPLUGIN_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${BLSURFPLUGIN_ROOT_DIR}/bin/salome:${BLSURFPLUGIN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ BLSURFPLUGIN_src ------ +export BLSURFPLUGIN_SRC_DIR=${INST_ROOT}/BLSURFPLUGIN_SRC +## +#------ HexoticPLUGIN ------ +export HexoticPLUGIN_ROOT_DIR=${INST_ROOT}/HexoticPLUGIN${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${HexoticPLUGIN_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${HexoticPLUGIN_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${HexoticPLUGIN_ROOT_DIR}/bin/salome:${HexoticPLUGIN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ HexoticPLUGIN_src ------ +export HexoticPLUGIN_SRC_DIR=${INST_ROOT}/HexoticPLUGIN_SRC +## +#------ COMPONENT ------ +export COMPONENT_ROOT_DIR=${INST_ROOT}/COMPONENT${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${COMPONENT_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${COMPONENT_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${COMPONENT_ROOT_DIR}/bin/salome:${COMPONENT_ROOT_DIR}/lib/salome:${COMPONENT_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ COMPONENT_src ------ +export COMPONENT_SRC_DIR=${INST_ROOT}/COMPONENT_SRC +## +#------ PYCALCULATOR ------ +export PYCALCULATOR_ROOT_DIR=${INST_ROOT}/PYCALCULATOR${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${PYCALCULATOR_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${PYCALCULATOR_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${PYCALCULATOR_ROOT_DIR}/bin/salome:${PYCALCULATOR_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ PYCALCULATOR_src ------ +export PYCALCULATOR_SRC_DIR=${INST_ROOT}/PYCALCULATOR_SRC +## +#------ CALCULATOR ------ +export CALCULATOR_ROOT_DIR=${INST_ROOT}/CALCULATOR${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${CALCULATOR_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${CALCULATOR_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${CALCULATOR_ROOT_DIR}/bin/salome:${CALCULATOR_ROOT_DIR}/lib/salome:${CALCULATOR_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ CALCULATOR_src ------ +export CALCULATOR_SRC_DIR=${INST_ROOT}/CALCULATOR_SRC +## +#------ HELLO ------ +export HELLO_ROOT_DIR=${INST_ROOT}/HELLO${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${HELLO_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${HELLO_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${HELLO_ROOT_DIR}/bin/salome:${HELLO_ROOT_DIR}/lib/salome:${HELLO_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ HELLO_src ------ +export HELLO_SRC_DIR=${INST_ROOT}/HELLO_SRC +## +#------ PYHELLO ------ +export PYHELLO_ROOT_DIR=${INST_ROOT}/PYHELLO${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${PYHELLO_ROOT_DIR}/bin/salome + exportp PYTHONPATH ${PYHELLO_ROOT_DIR}/bin/salome:${PYHELLO_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ PYHELLO_src ------ +export PYHELLO_SRC_DIR=${INST_ROOT}/PYHELLO_SRC +## +#------ ATOMGEN ------ +export ATOMGEN_ROOT_DIR=${INST_ROOT}/ATOMGEN${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${ATOMGEN_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${ATOMGEN_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${ATOMGEN_ROOT_DIR}/bin/salome:${ATOMGEN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ ATOMGEN_src ------ +export ATOMGEN_SRC_DIR=${INST_ROOT}/ATOMGEN_SRC +## +#------ ATOMSOLV ------ +export ATOMSOLV_ROOT_DIR=${INST_ROOT}/ATOMSOLV${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${ATOMSOLV_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${ATOMSOLV_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${ATOMSOLV_ROOT_DIR}/bin/salome:${ATOMSOLV_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ ATOMSOLV_src ------ +export ATOMSOLV_SRC_DIR=${INST_ROOT}/ATOMSOLV_SRC +## +#------ ATOMIC ------ +export ATOMIC_ROOT_DIR=${INST_ROOT}/ATOMIC${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${ATOMIC_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${ATOMIC_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${ATOMIC_ROOT_DIR}/bin/salome:${ATOMIC_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ ATOMIC_src ------ +export ATOMIC_SRC_DIR=${INST_ROOT}/ATOMIC_SRC +## +#------ LIGHT ------ +export LIGHT_ROOT_DIR=${INST_ROOT}/LIGHT${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp LD_LIBRARY_PATH ${LIGHT_ROOT_DIR}/lib/salome + fi +fi +## +#------ LIGHT_src ------ +export LIGHT_SRC_DIR=${INST_ROOT}/LIGHT_SRC +## +#------ PYLIGHT ------ +export PYLIGHT_ROOT_DIR=${INST_ROOT}/PYLIGHT${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${PYLIGHT_ROOT_DIR}/bin/salome + exportp PYTHONPATH ${PYLIGHT_ROOT_DIR}/bin/salome + fi +fi +## +#------ PYLIGHT_src ------ +export PYLIGHT_SRC_DIR=${INST_ROOT}/PYLIGHT_SRC +## +#------ RANDOMIZER ------ +export RANDOMIZER_ROOT_DIR=${INST_ROOT}/RANDOMIZER${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${RANDOMIZER_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${RANDOMIZER_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${RANDOMIZER_ROOT_DIR}/bin/salome:${RANDOMIZER_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ RANDOMIZER_src ------ +export RANDOMIZER_SRC_DIR=${INST_ROOT}/RANDOMIZER_SRC +## +#------ SIERPINSKY ------ +export SIERPINSKY_ROOT_DIR=${INST_ROOT}/SIERPINSKY${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${SIERPINSKY_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${SIERPINSKY_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${SIERPINSKY_ROOT_DIR}/bin/salome:${SIERPINSKY_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ SIERPINSKY_src ------ +export SIERPINSKY_SRC_DIR=${INST_ROOT}/SIERPINSKY_SRC +## +#------ YACS ------ +export YACS_ROOT_DIR=${INST_ROOT}/YACS${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${YACS_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${YACS_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${YACS_ROOT_DIR}/bin/salome:${YACS_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ YACS_src ------ +export YACS_SRC_DIR=${INST_ROOT}/YACS_SRC +## +#------ YACSGEN ------ +export YACSGEN_ROOT_DIR=${INST_ROOT}/YACSGEN${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PYTHONPATH ${YACSGEN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages + fi +fi +## +#------ YACSGEN_src ------ +export YACSGEN_SRC_DIR=${INST_ROOT}/YACSGEN_SRC +## +#------ JOBMANAGER ------ +export JOBMANAGER_ROOT_DIR=${INST_ROOT}/JOBMANAGER${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${JOBMANAGER_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${JOBMANAGER_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${JOBMANAGER_ROOT_DIR}/bin/salome:${JOBMANAGER_ROOT_DIR}/lib/salome:${JOBMANAGER_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ JOBMANAGER_src ------ +export JOBMANAGER_SRC_DIR=${INST_ROOT}/JOBMANAGER_SRC +## +#------ SAMPLES_src ------ +export DATA_DIR=${INST_ROOT}/SAMPLES_SRC +## +#------ TUTORIAL_src ------ +## +#------ HOMARD ------ +export HOMARD_ROOT_DIR=${INST_ROOT}/HOMARD${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${HOMARD_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${HOMARD_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${HOMARD_ROOT_DIR}/bin/salome:${HOMARD_ROOT_DIR}/lib/salome:${HOMARD_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ HOMARD_src ------ +export HOMARD_SRC_DIR=${INST_ROOT}/HOMARD_SRC +## +#------ xdata ------ +export XDATAROOT=${INST_ROOT}/xdata-0.9.3 +exportp PATH ${XDATAROOT}/bin +exportp PYTHONPATH ${XDATAROOT}/lib/python${PYTHON_VERSION}/site-packages/xdata +## +#------ xdata_src ------ +# nothing to do +## +#------ HXX2SALOME ------ +export HXX2SALOME_ROOT_DIR=${INST_ROOT}/HXX2SALOME${vx}/bin +exportp PATH ${HXX2SALOME_ROOT_DIR} +## +#------ HXX2SALOME_src ------ +# nothing to do +## +#------ HXX2SALOMEDOC ------ +#nothing to do +## +#------ HXX2SALOMEDOC_src ------ +# nothing to do +## +#------ DOCUMENTATION_src ------ +#nothing to do +## diff --git a/scripts/env_products_mandriva-2010-64.sh b/scripts/env_products_mandriva-2010-64.sh new file mode 100644 index 0000000..d0b4233 --- /dev/null +++ b/scripts/env_products_mandriva-2010-64.sh @@ -0,0 +1,838 @@ +########################################################################## +# Functions exporta and exportp are used to append/prepend correspondingly +# one directory or a set of directories separated by semicolon symbol (':') +# to the environment variables like PATH, LD_LIBRARY_PATH, PYTHONPATH, +# LD_RUN_PATH etc. +# The main purpose is to replace default setenv command behavior: +# exporta, exportp also remove duplicated entries, shortening in that way +# the environment variables. +# If some directory being added is already included into the variable +# nothing is done for it. +# Note, that these functions work some slower that setenv command itself. +# +#### cleandup ### +# appends/prepends set of directories (second parameter) +# to the another set of directories (first parameter) and +# removes duplicated entries; +# the third parameter defines the mode: 0 - append, 1 - prepend +cleandup() { +out_var=`echo $1 $2 | awk -v dir=$3 '{ \ + na = split($2,a,":"); \ + k1=0; \ + bbb[k1++]=""; \ + ccc[""]; \ + if($1 != "") { \ + nb = split($1,b,":"); \ + for(i=1;i<=nb;i++) { \ + if(!(b[i] in ccc) ) { \ + ccc[b[i]]; \ + bbb[k1++]=b[i]; \ + }; \ + }; \ + }; \ + k2=0; \ + aaa[k2++]=""; \ + for(i=1;i<=na;i++) { \ + if(!(a[i] in ccc)) { \ + ccc[a[i]]; \ + aaa[k2++]=a[i]; \ + }; \ + }; \ + ORS=":"; \ + if(dir) { \ + for(i=1;ivx=`grep -e "^AC_INIT" KERNEL_SRC/configure.in.base | sed -e "s%.*\[\([[:digit:].]*\)\].*%\1%g"` + fi +elif [ -e KERNEL_SRC/CMakeLists.txt ] ; then + ver_maj=`cat KERNEL_SRC/CMakeLists.txt | grep SET\(VERSION_MAJOR | sed -e "s%[A-Z_() ]%%g"` + ver_min=`cat KERNEL_SRC/CMakeLists.txt | grep SET\(VERSION_MINOR | sed -e "s%[A-Z_() ]%%g"` + ver_maintenance=`cat KERNEL_SRC/CMakeLists.txt | grep SET\(VERSION_MAINTENANCE | sed -e "s%[A-Z_() ]%%g"` + vx="${ver_maj}.${ver_min}.${ver_maintenance}" +fi +if [ "$vx" != "" ] ; then + vx="_$vx" +fi + +#echo vx ================== ${vx} +#exit + +#------ KERNEL ------ +export KERNEL_ROOT_DIR=${INST_ROOT}/KERNEL${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${KERNEL_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${KERNEL_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${KERNEL_ROOT_DIR}/bin/salome:${KERNEL_ROOT_DIR}/lib/salome:${KERNEL_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ KERNEL_src ------ +export KERNEL_SRC_DIR=${INST_ROOT}/KERNEL_SRC +## +#------ GUI ------ +export GUI_ROOT_DIR=${INST_ROOT}/GUI${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${GUI_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${GUI_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${GUI_ROOT_DIR}/bin/salome:${GUI_ROOT_DIR}/lib/salome:${GUI_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + export VTK_AUTOLOAD_PATH=${GUI_ROOT_DIR}/lib/paraview + fi +fi +## +#------ GUI_src ------ +export GUI_SRC_DIR=${INST_ROOT}/GUI_SRC +## +#------ GEOM ------ +export GEOM_ROOT_DIR=${INST_ROOT}/GEOM${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${GEOM_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${GEOM_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${GEOM_ROOT_DIR}/bin/salome:${GEOM_ROOT_DIR}/lib/salome:${GEOM_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ GEOM_src ------ +export GEOM_SRC_DIR=${INST_ROOT}/GEOM_SRC +## +#------ MED ------ +export MED_ROOT_DIR=${INST_ROOT}/MED${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${MED_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${MED_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${MED_ROOT_DIR}/bin/salome:${MED_ROOT_DIR}/lib/salome:${MED_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + export AM2CMAKE_FORCE_GENERATION=1 + fi +fi +## +#------ MED_src ------ +export MED_SRC_DIR=${INST_ROOT}/MED_SRC +## +#------ SMESH ------ +export SMESH_ROOT_DIR=${INST_ROOT}/SMESH${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${SMESH_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${SMESH_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${SMESH_ROOT_DIR}/bin/salome:${SMESH_ROOT_DIR}/lib/salome:${SMESH_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ SMESH_src ------ +export SMESH_SRC_DIR=${INST_ROOT}/SMESH_SRC +## +#------ VISU ------ +export VISU_ROOT_DIR=${INST_ROOT}/VISU${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${VISU_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${VISU_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${VISU_ROOT_DIR}/bin/salome:${VISU_ROOT_DIR}/lib/salome:${VISU_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ VISU_src ------ +export VISU_SRC_DIR=${INST_ROOT}/VISU_SRC +## +#------ PARAVIS ------ +export PARAVIS_ROOT_DIR=${INST_ROOT}/PARAVIS${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${PARAVIS_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${PARAVIS_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${PARAVIS_ROOT_DIR}/bin/salome:${PARAVIS_ROOT_DIR}/lib/salome:${PARAVIS_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + export PV_PLUGIN_PATH=${PARAVIS_ROOT_DIR}/lib/paraview:${PV_PLUGIN_PATH} + fi +fi +## +#------ PARAVIS_src ------ +export PARAVIS_SRC_DIR=${INST_ROOT}/PARAVIS_SRC +export ACCEPT_PARAVIS_WARNINGS=1 +## +#------ HEXABLOCK ------ +export HEXABLOCK_ROOT_DIR=${INST_ROOT}/HEXABLOCK${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${HEXABLOCK_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${HEXABLOCK_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${HEXABLOCK_ROOT_DIR}/bin/salome:${HEXABLOCK_ROOT_DIR}/lib/salome:${HEXABLOCK_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ HEXABLOCK_src ------ +export HEXABLOCK_SRC_DIR=${INST_ROOT}/HEXABLOCK_SRC +## +#------ HEXABLOCKPLUGIN ------ +export HEXABLOCKPLUGIN_ROOT_DIR=${INST_ROOT}/HEXABLOCKPLUGIN${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp LD_LIBRARY_PATH ${HEXABLOCKPLUGIN_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${HEXABLOCKPLUGIN_ROOT_DIR}/lib/salome:${HEXABLOCKPLUGIN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ HEXABLOCKPLUGIN_src ------ +export HEXABLOCKPLUGIN_SRC_DIR=${INST_ROOT}/HEXABLOCKPLUGIN_SRC +## +#------ NETGENPLUGIN ------ +export NETGENPLUGIN_ROOT_DIR=${INST_ROOT}/NETGENPLUGIN${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp LD_LIBRARY_PATH ${NETGENPLUGIN_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${NETGENPLUGIN_ROOT_DIR}/lib/salome:${NETGENPLUGIN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ NETGENPLUGIN_src ------ +export NETGENPLUGIN_SRC_DIR=${INST_ROOT}/NETGENPLUGIN_SRC +## +#------ GHS3DPLUGIN ------ +export GHS3DPLUGIN_ROOT_DIR=${INST_ROOT}/GHS3DPLUGIN${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp LD_LIBRARY_PATH ${GHS3DPLUGIN_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${GHS3DPLUGIN_ROOT_DIR}/lib/salome:${GHS3DPLUGIN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ GHS3DPLUGIN_src ------ +export GHS3DPLUGIN_SRC_DIR=${INST_ROOT}/GHS3DPLUGIN_SRC +## +#------ GHS3DPRLPLUGIN ------ +export GHS3DPRLPLUGIN_ROOT_DIR=${INST_ROOT}/GHS3DPRLPLUGIN${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${GHS3DPRLPLUGIN_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${GHS3DPRLPLUGIN_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${GHS3DPRLPLUGIN_ROOT_DIR}/bin/salome:${GHS3DPRLPLUGIN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ GHS3DPRLPLUGIN_src ------ +export GHS3DPRLPLUGIN_SRC_DIR=${INST_ROOT}/GHS3DPRLPLUGIN_SRC +## +#------ BLSURFPLUGIN ------ +export BLSURFPLUGIN_ROOT_DIR=${INST_ROOT}/BLSURFPLUGIN${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${BLSURFPLUGIN_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${BLSURFPLUGIN_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${BLSURFPLUGIN_ROOT_DIR}/bin/salome:${BLSURFPLUGIN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ BLSURFPLUGIN_src ------ +export BLSURFPLUGIN_SRC_DIR=${INST_ROOT}/BLSURFPLUGIN_SRC +## +#------ HexoticPLUGIN ------ +export HexoticPLUGIN_ROOT_DIR=${INST_ROOT}/HexoticPLUGIN${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${HexoticPLUGIN_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${HexoticPLUGIN_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${HexoticPLUGIN_ROOT_DIR}/bin/salome:${HexoticPLUGIN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ HexoticPLUGIN_src ------ +export HexoticPLUGIN_SRC_DIR=${INST_ROOT}/HexoticPLUGIN_SRC +## +#------ COMPONENT ------ +export COMPONENT_ROOT_DIR=${INST_ROOT}/COMPONENT${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${COMPONENT_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${COMPONENT_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${COMPONENT_ROOT_DIR}/bin/salome:${COMPONENT_ROOT_DIR}/lib/salome:${COMPONENT_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ COMPONENT_src ------ +export COMPONENT_SRC_DIR=${INST_ROOT}/COMPONENT_SRC +## +#------ PYCALCULATOR ------ +export PYCALCULATOR_ROOT_DIR=${INST_ROOT}/PYCALCULATOR${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${PYCALCULATOR_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${PYCALCULATOR_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${PYCALCULATOR_ROOT_DIR}/bin/salome:${PYCALCULATOR_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ PYCALCULATOR_src ------ +export PYCALCULATOR_SRC_DIR=${INST_ROOT}/PYCALCULATOR_SRC +## +#------ CALCULATOR ------ +export CALCULATOR_ROOT_DIR=${INST_ROOT}/CALCULATOR${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${CALCULATOR_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${CALCULATOR_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${CALCULATOR_ROOT_DIR}/bin/salome:${CALCULATOR_ROOT_DIR}/lib/salome:${CALCULATOR_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ CALCULATOR_src ------ +export CALCULATOR_SRC_DIR=${INST_ROOT}/CALCULATOR_SRC +## +#------ HELLO ------ +export HELLO_ROOT_DIR=${INST_ROOT}/HELLO${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${HELLO_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${HELLO_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${HELLO_ROOT_DIR}/bin/salome:${HELLO_ROOT_DIR}/lib/salome:${HELLO_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ HELLO_src ------ +export HELLO_SRC_DIR=${INST_ROOT}/HELLO_SRC +## +#------ PYHELLO ------ +export PYHELLO_ROOT_DIR=${INST_ROOT}/PYHELLO${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${PYHELLO_ROOT_DIR}/bin/salome + exportp PYTHONPATH ${PYHELLO_ROOT_DIR}/bin/salome:${PYHELLO_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ PYHELLO_src ------ +export PYHELLO_SRC_DIR=${INST_ROOT}/PYHELLO_SRC +## +#------ ATOMGEN ------ +export ATOMGEN_ROOT_DIR=${INST_ROOT}/ATOMGEN${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${ATOMGEN_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${ATOMGEN_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${ATOMGEN_ROOT_DIR}/bin/salome:${ATOMGEN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ ATOMGEN_src ------ +export ATOMGEN_SRC_DIR=${INST_ROOT}/ATOMGEN_SRC +## +#------ ATOMSOLV ------ +export ATOMSOLV_ROOT_DIR=${INST_ROOT}/ATOMSOLV${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${ATOMSOLV_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${ATOMSOLV_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${ATOMSOLV_ROOT_DIR}/bin/salome:${ATOMSOLV_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ ATOMSOLV_src ------ +export ATOMSOLV_SRC_DIR=${INST_ROOT}/ATOMSOLV_SRC +## +#------ ATOMIC ------ +export ATOMIC_ROOT_DIR=${INST_ROOT}/ATOMIC${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${ATOMIC_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${ATOMIC_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${ATOMIC_ROOT_DIR}/bin/salome:${ATOMIC_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ ATOMIC_src ------ +export ATOMIC_SRC_DIR=${INST_ROOT}/ATOMIC_SRC +## +#------ LIGHT ------ +export LIGHT_ROOT_DIR=${INST_ROOT}/LIGHT${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp LD_LIBRARY_PATH ${LIGHT_ROOT_DIR}/lib/salome + fi +fi +## +#------ LIGHT_src ------ +export LIGHT_SRC_DIR=${INST_ROOT}/LIGHT_SRC +## +#------ PYLIGHT ------ +export PYLIGHT_ROOT_DIR=${INST_ROOT}/PYLIGHT${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${PYLIGHT_ROOT_DIR}/bin/salome + exportp PYTHONPATH ${PYLIGHT_ROOT_DIR}/bin/salome + fi +fi +## +#------ PYLIGHT_src ------ +export PYLIGHT_SRC_DIR=${INST_ROOT}/PYLIGHT_SRC +## +#------ RANDOMIZER ------ +export RANDOMIZER_ROOT_DIR=${INST_ROOT}/RANDOMIZER${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${RANDOMIZER_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${RANDOMIZER_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${RANDOMIZER_ROOT_DIR}/bin/salome:${RANDOMIZER_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ RANDOMIZER_src ------ +export RANDOMIZER_SRC_DIR=${INST_ROOT}/RANDOMIZER_SRC +## +#------ SIERPINSKY ------ +export SIERPINSKY_ROOT_DIR=${INST_ROOT}/SIERPINSKY${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${SIERPINSKY_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${SIERPINSKY_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${SIERPINSKY_ROOT_DIR}/bin/salome:${SIERPINSKY_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ SIERPINSKY_src ------ +export SIERPINSKY_SRC_DIR=${INST_ROOT}/SIERPINSKY_SRC +## +#------ YACS ------ +export YACS_ROOT_DIR=${INST_ROOT}/YACS${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${YACS_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${YACS_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${YACS_ROOT_DIR}/bin/salome:${YACS_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ YACS_src ------ +export YACS_SRC_DIR=${INST_ROOT}/YACS_SRC +## +#------ YACSGEN ------ +export YACSGEN_ROOT_DIR=${INST_ROOT}/YACSGEN${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PYTHONPATH ${YACSGEN_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages + fi +fi +## +#------ YACSGEN_src ------ +export YACSGEN_SRC_DIR=${INST_ROOT}/YACSGEN_SRC +## +#------ JOBMANAGER ------ +export JOBMANAGER_ROOT_DIR=${INST_ROOT}/JOBMANAGER${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${JOBMANAGER_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${JOBMANAGER_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${JOBMANAGER_ROOT_DIR}/bin/salome:${JOBMANAGER_ROOT_DIR}/lib/salome:${JOBMANAGER_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ JOBMANAGER_src ------ +export JOBMANAGER_SRC_DIR=${INST_ROOT}/JOBMANAGER_SRC +## +#------ SAMPLES_src ------ +export DATA_DIR=${INST_ROOT}/SAMPLES_SRC +## +#------ TUTORIAL_src ------ +## +#------ HOMARD ------ +export HOMARD_ROOT_DIR=${INST_ROOT}/HOMARD${vx} +if [ -n "${ENV_FOR_LAUNCH}" ] ; then + if [ "${ENV_FOR_LAUNCH}" = "1" ] ; then + exportp PATH ${HOMARD_ROOT_DIR}/bin/salome + exportp LD_LIBRARY_PATH ${HOMARD_ROOT_DIR}/lib/salome + exportp PYTHONPATH ${HOMARD_ROOT_DIR}/bin/salome:${HOMARD_ROOT_DIR}/lib/salome:${HOMARD_ROOT_DIR}/lib/python${PYTHON_VERSION}/site-packages/salome + fi +fi +## +#------ HOMARD_src ------ +export HOMARD_SRC_DIR=${INST_ROOT}/HOMARD_SRC +## +#------ xdata ------ +export XDATAROOT=${INST_ROOT}/xdata-0.9.3 +exportp PATH ${XDATAROOT}/bin +exportp PYTHONPATH ${XDATAROOT}/lib/python${PYTHON_VERSION}/site-packages/xdata +## +#------ xdata_src ------ +# nothing to do +## +#------ HXX2SALOME ------ +export HXX2SALOME_ROOT_DIR=${INST_ROOT}/HXX2SALOME${vx}/bin +exportp PATH ${HXX2SALOME_ROOT_DIR} +## +#------ HXX2SALOME_src ------ +# nothing to do +## +#------ HXX2SALOMEDOC ------ +#nothing to do +## +#------ HXX2SALOMEDOC_src ------ +# nothing to do +## +#------ DOCUMENTATION_src ------ +#nothing to do +##