From c5d3f7163ae22c2ca40210fd0329cd5e2af9170a Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 31 May 2005 14:01:18 +0000 Subject: [PATCH] improving common.sh functions performance --- config_files/HappyDoc-r2_1.sh | 1 + config_files/Numeric-23.7.sh | 1 + config_files/PyQt-3.13.sh | 1 + config_files/SWIG-1.3.24.sh | 1 + config_files/VTK-4.2.6.sh | 1 + config_files/graphviz-2.2.1.sh | 1 + config_files/hdf5-1.6.3.sh | 1 + config_files/med-2.2.2.sh | 1 + config_files/{netgen4.3.sh => netgen-4.3.sh} | 7 ++++--- config_files/netgen-4.4.sh | 1 + config_files/omniORB-4.0.5.sh | 1 + config_files/qwt-4.2.0.sh | 1 + config_files/sip-4.1.sh | 1 + 13 files changed, 16 insertions(+), 3 deletions(-) rename config_files/{netgen4.3.sh => netgen-4.3.sh} (90%) diff --git a/config_files/HappyDoc-r2_1.sh b/config_files/HappyDoc-r2_1.sh index 2fc19ce..c0bed7c 100755 --- a/config_files/HappyDoc-r2_1.sh +++ b/config_files/HappyDoc-r2_1.sh @@ -81,6 +81,7 @@ check_job ${PRODUCT_DIR}/INSTALL.LOG python setup.py install --prefix=${PRODUCT_ #EOF #fi +#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log rm -fr ${PRODUCT_WORK} print_env } diff --git a/config_files/Numeric-23.7.sh b/config_files/Numeric-23.7.sh index 1aec479..d632fa2 100755 --- a/config_files/Numeric-23.7.sh +++ b/config_files/Numeric-23.7.sh @@ -84,6 +84,7 @@ fi check_job ${PRODUCT_DIR}/INSTALL.LOG python setup.py install --prefix=${PRODUCT_DIR} +#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log rm -fr ${PRODUCT_WORK} print_env } diff --git a/config_files/PyQt-3.13.sh b/config_files/PyQt-3.13.sh index 1080c50..ab9f7fc 100755 --- a/config_files/PyQt-3.13.sh +++ b/config_files/PyQt-3.13.sh @@ -94,6 +94,7 @@ EOF check_job ${PRODUCT_DIR}/MAKE.LOG make check_job ${PRODUCT_DIR}/INSTALL.LOG make install +#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log rm -fr ${PRODUCT_WORK} print_env } diff --git a/config_files/SWIG-1.3.24.sh b/config_files/SWIG-1.3.24.sh index 74ffa6f..566ae77 100755 --- a/config_files/SWIG-1.3.24.sh +++ b/config_files/SWIG-1.3.24.sh @@ -69,6 +69,7 @@ EOF check_job ${PRODUCT_DIR}/MAKE.LOG make check_job ${PRODUCT_DIR}/INSTALL.LOG make install +#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log rm -fr ${PRODUCT_WORK} print_env } diff --git a/config_files/VTK-4.2.6.sh b/config_files/VTK-4.2.6.sh index 5d62b0e..ccc4baa 100755 --- a/config_files/VTK-4.2.6.sh +++ b/config_files/VTK-4.2.6.sh @@ -142,6 +142,7 @@ rm -fr ${PRODUCT_WORK} ${INSTALL_WORK}/cmake-1.6.6 cd ${PRODUCT_DIR}/lib/python${python_version}/site-packages/vtk_python ln -sf ../../../vtk/*Python*.so . +#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log rm -fr ${PRODUCT_WORK} print_env } diff --git a/config_files/graphviz-2.2.1.sh b/config_files/graphviz-2.2.1.sh index a3e7550..f4f1a5c 100755 --- a/config_files/graphviz-2.2.1.sh +++ b/config_files/graphviz-2.2.1.sh @@ -65,6 +65,7 @@ EOF check_job ${PRODUCT_DIR}/MAKE.LOG make check_job ${PRODUCT_DIR}/INSTALL.LOG make install +#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log rm -fr ${PRODUCT_WORK} print_env } diff --git a/config_files/hdf5-1.6.3.sh b/config_files/hdf5-1.6.3.sh index cc0fd2a..bd56c8e 100755 --- a/config_files/hdf5-1.6.3.sh +++ b/config_files/hdf5-1.6.3.sh @@ -76,6 +76,7 @@ EOF check_job ${PRODUCT_DIR}/MAKE.LOG make check_job ${PRODUCT_DIR}/INSTALL.LOG make install +#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log rm -fr ${PRODUCT_WORK} print_env } diff --git a/config_files/med-2.2.2.sh b/config_files/med-2.2.2.sh index aaf13ee..85cf5b7 100755 --- a/config_files/med-2.2.2.sh +++ b/config_files/med-2.2.2.sh @@ -73,6 +73,7 @@ EOF check_job ${PRODUCT_DIR}/MAKE.LOG make check_job ${PRODUCT_DIR}/INSTALL.LOG make install +#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log rm -fr ${PRODUCT_WORK} ### modify libmed.la libmedC.la files to correct direct path to hdf5 library diff --git a/config_files/netgen4.3.sh b/config_files/netgen-4.3.sh similarity index 90% rename from config_files/netgen4.3.sh rename to config_files/netgen-4.3.sh index 9387512..2df6bd4 100755 --- a/config_files/netgen4.3.sh +++ b/config_files/netgen-4.3.sh @@ -48,7 +48,7 @@ source ${INSTALL_WORK}/$SHRC makedir ${PRODUCT_DIR} -check_jb tar xfz ${SOURCE_DIR}/netgen4.3.tar.gz -C ${INSTALL_WORK} +check_jb tar xfz ${SOURCE_DIR}/netgen-4.3.tar.gz -C ${INSTALL_WORK} export MACHINE=LINUX @@ -62,6 +62,7 @@ cp -f ${PRODUCT_WORK}/lib/LINUX/* ${PRODUCT_DIR}/lib/LINUX mkdir -p ${PRODUCT_DIR}/include cp -f ${PRODUCT_WORK}/libsrc/interface/nglib.h ${PRODUCT_DIR}/include +#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log rm -fr ${PRODUCT_WORK} print_env } @@ -71,7 +72,7 @@ install_binary() make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} source ${INSTALL_WORK}/$SHRC -check_jb tar xfz ${SOURCE_DIR}/netgen4.3.tar.gz -C ${INSTALL_ROOT} +check_jb tar xfz ${SOURCE_DIR}/netgen-4.3.tar.gz -C ${INSTALL_ROOT} print_env } @@ -82,7 +83,7 @@ export SOURCE_DIR=$3; export INSTALL_ROOT=$4; export PRODUCT_SEQUENCE=$5; if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="netgen" ; fi -export PRODUCT="netgen4.3" +export PRODUCT="netgen-4.3" export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} source ./common.sh diff --git a/config_files/netgen-4.4.sh b/config_files/netgen-4.4.sh index 8c7c804..7758e58 100755 --- a/config_files/netgen-4.4.sh +++ b/config_files/netgen-4.4.sh @@ -62,6 +62,7 @@ cp -f ${PRODUCT_WORK}/lib/LINUX/* ${PRODUCT_DIR}/lib/LINUX mkdir -p ${PRODUCT_DIR}/include cp -f ${PRODUCT_WORK}/libsrc/interface/nglib.h ${PRODUCT_DIR}/include +#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log rm -fr ${PRODUCT_WORK} print_env } diff --git a/config_files/omniORB-4.0.5.sh b/config_files/omniORB-4.0.5.sh index a1b4a01..e5f0223 100755 --- a/config_files/omniORB-4.0.5.sh +++ b/config_files/omniORB-4.0.5.sh @@ -131,6 +131,7 @@ EOF check_job ${PRODUCT_DIR}/MAKE_OMNINOTIFY.LOG make check_job ${PRODUCT_DIR}/INSTALL_OMNINOTIFY.LOG make install +#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log rm -fr ${PRODUCT_WORK} print_env } diff --git a/config_files/qwt-4.2.0.sh b/config_files/qwt-4.2.0.sh index 11dd7cd..6ceebaf 100755 --- a/config_files/qwt-4.2.0.sh +++ b/config_files/qwt-4.2.0.sh @@ -66,6 +66,7 @@ EOF check_job ${PRODUCT_DIR}/MAKE.LOG make cp -rf include lib ${PRODUCT_DIR} +#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log rm -rf ${PRODUCT_WORK} print_env diff --git a/config_files/sip-4.1.sh b/config_files/sip-4.1.sh index ef074b9..4d07206 100755 --- a/config_files/sip-4.1.sh +++ b/config_files/sip-4.1.sh @@ -82,6 +82,7 @@ EOF check_job ${PRODUCT_DIR}/MAKE.LOG make check_job ${PRODUCT_DIR}/INSTALL.LOG make install +#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log rm -fr ${PRODUCT_WORK} print_env } -- 2.39.2