From: inv Date: Wed, 19 May 2010 07:52:10 +0000 (+0000) Subject: Update for compilation JOBMANAGER from sources X-Git-Tag: V5_1_4~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fb4a006db5bd4753182886d6d22e1330f5b1ab96;p=tools%2Finstall.git Update for compilation JOBMANAGER from sources --- diff --git a/config_files/JOBMANAGER.sh b/config_files/JOBMANAGER.sh index 4e5d618..c3322d0 100755 --- a/config_files/JOBMANAGER.sh +++ b/config_files/JOBMANAGER.sh @@ -74,16 +74,22 @@ install_source # build sources -cd ${PRODUCT_SRC_DIR} test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR} -check_job ${PRODUCT_DIR}/MAKE.LOG python ./setup.py install --prefix=${PRODUCT_DIR} +if [ -e ./build.sh ] ; then + cp -f ./build.sh ${INST_ROOT} +fi + +CUR_DIR=`pwd` +cd ${INST_ROOT} +check_jb ./build.sh -o -b -d -v 0 -p $INST_ROOT JOBMANAGER -cd ${PRODUCT_DIR}; +cd $CUR_DIR # remove sources and temporary files after building if [ ${REMOVE_SRC_TMP} == "TRUE" ] ; then test -d ${PRODUCT_SRC_DIR} && rm -fr ${PRODUCT_SRC_DIR} + test -d ${INST_ROOT}/"JOBMANAGER_BUILD" && rm -fr ${INST_ROOT}/"JOBMANAGER_BUILD" fi # to generate environment scripts diff --git a/config_files/build.csh b/config_files/build.csh index 1e2b08c..a14ed1b 100755 --- a/config_files/build.csh +++ b/config_files/build.csh @@ -21,7 +21,7 @@ set inst_with_gui=1 set is_delete=0 set verbose_level=2 set params="" -set modules=(KERNEL GUI GEOM MED SMESH VISU YACS NETGENPLUGIN GHS3DPLUGIN BLSURFPLUGIN HexoticPLUGIN GHS3DPRLPLUGIN COMPONENT PYCALCULATOR CALCULATOR HELLO PYHELLO LIGHT PYLIGHT SIERPINSKY RANDOMIZER MULTIPR) +set modules=(KERNEL GUI GEOM MED SMESH VISU YACS NETGENPLUGIN GHS3DPLUGIN BLSURFPLUGIN HexoticPLUGIN GHS3DPRLPLUGIN COMPONENT PYCALCULATOR CALCULATOR HELLO PYHELLO LIGHT PYLIGHT SIERPINSKY RANDOMIZER MULTIPR JOBMANAGER) set optim="" set is_install=1 set is_help=0 diff --git a/config_files/build.sh b/config_files/build.sh index db3c1d8..5dace50 100755 --- a/config_files/build.sh +++ b/config_files/build.sh @@ -84,7 +84,7 @@ inst_with_gui=1 is_delete=0 verbose_level=2 params="" -modules="KERNEL GUI GEOM MED SMESH VISU YACS NETGENPLUGIN GHS3DPLUGIN BLSURFPLUGIN HexoticPLUGIN GHS3DPRLPLUGIN COMPONENT PYCALCULATOR CALCULATOR HELLO PYHELLO LIGHT PYLIGHT SIERPINSKY RANDOMIZER MULTIPR" +modules="KERNEL GUI GEOM MED SMESH VISU YACS NETGENPLUGIN GHS3DPLUGIN BLSURFPLUGIN HexoticPLUGIN GHS3DPRLPLUGIN COMPONENT PYCALCULATOR CALCULATOR HELLO PYHELLO LIGHT PYLIGHT SIERPINSKY RANDOMIZER MULTIPR JOBMANAGER" optim="" is_install=1 is_tui=0