From: maintenance team Date: Mon, 29 Oct 2007 15:30:20 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V_4_1_1~112 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=96f7e0e1707d6319713d1d261ec2855509c197f1;p=tools%2Finstall.git *** empty log message *** --- diff --git a/config_files/BOOST-1.31.0.sh b/config_files/BOOST-1.31.0.sh deleted file mode 100755 index 174ac63..0000000 --- a/config_files/BOOST-1.31.0.sh +++ /dev/null @@ -1,156 +0,0 @@ -#!/bin/bash -noprofile - -#################################################################################### -# File : BOOST-1.31.0.sh -# Created : Thu Dec 18 12:01:00 2002 -# Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com) -# Project : SALOME -# Module : Installation Wizard -# Copyright : 2002-2007 CEA -# -# This script is the part of the SALOME installation procedure. -# -#################################################################################### - -check_version(){ -if [ -n "${BOOSTDIR}" ] && [ -f ${BOOSTDIR}/include/boost/version.hpp ] ; then - ver=`egrep 'BOOST_VERSION [0-9]+' ${BOOSTDIR}/include/boost/version.hpp | sed 's/.*BOOST_VERSION \([0-9]\+\)/\1/g'` - if [ "$ver" = "103100" ]; then - return 0 - fi -fi -return 1; -} - -print_env_bin() -{ -cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh <> ${PRODUCT_DIR}/BUILD.LOG < signals_common.hpp.orig -#mv -f signals_common.hpp.orig signals_common.hpp - -# install -cd ${PRODUCT_DIR}_SRC -python_root=`find_in_path python $PATH`; -python_root=`cd ${python_root}/..; pwd` -python_version=`python -c "import sys; print sys.version[:3]"` - -echo "`pwd` -> ./tools/build/jam_src/bin.linuxx86/bjam >> ${PRODUCT_DIR}/INSTALL.LOG" -./tools/build/jam_src/bin.linuxx86/bjam "-sBOOST_ALL_DYN_LINK=1" \ - "-sBUILD=release dynamic multi" \ - --prefix=${PRODUCT_DIR} --builddir=${PRODUCT_DIR}_SRC \ - "-sPYTHON_VERSION=$python_version" --with-python-root=${python_root} \ - install >> ${PRODUCT_DIR}/INSTALL.LOG 2> $INSTALL_WORK/errlog - -if [ "$?" -ne "0" ] ; then - cat ${PRODUCT_DIR}/INSTALL.LOG - cat $INSTALL_WORK/errlog >&2 - cat $INSTALL_WORK/errlog >> ${PRODUCT_DIR}/INSTALL.LOG -fi - -# move includes -cd ${PRODUCT_DIR}/include -mv -f boost-1_31/boost boost -rm -rf boost-1_31 - -# create additional links for libraries -cd ${PRODUCT_DIR}/lib -for aLib in date_time filesystem prg_exec_monitor python regex signals test_exec_monitor thread unit_test_framework ; do - if [ -f libboost_${aLib}-gcc-mt-1_31.so ] ; then - ln -s libboost_${aLib}-gcc-mt-1_31.so libboost_${aLib}-mt.so - fi -done - -#du -sk ${PRODUCT_DIR}_SRC > ${PRODUCT_DIR}/size.log -cd ${PRODUCT_DIR}; - -# remove sources and temporary files after building -if [ ${REMOVE_SRC_TMP} == "TRUE" ] ; then - test -d ${PRODUCT_DIR}_SRC && rm -fr ${PRODUCT_DIR}_SRC -fi - -# to generate environment scripts -try_preinstalled -} - -install_binary() -{ -make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE} -source ${INSTALL_WORK}/$SHRC - -check_jb tar xfz ${SOURCE_DIR}/${PRODUCT}.tar.gz -C ${INSTALL_ROOT} - -# to generate environment scripts -try_preinstalled -} - -export PROCEDURE=$1; -export INSTALL_WORK=$2; -export SOURCE_DIR=$3; -export INSTALL_ROOT=$4; -export PRODUCT_SEQUENCE=$5; -export PRODUCT_TYPE=$6; -export INSTALL_PRODUCTS=$7; -shift -REMOVE_SRC_TMP=$8; -export PRODUCT="boost-1.31.0" -export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} -export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} -source ./common.sh -$PROCEDURE