]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
SALOME 6.5.0 preparation: cgnslib 3.1.3 -> 3.1.3-4
authorinv <inv@opencascade.com>
Mon, 2 Apr 2012 13:03:06 +0000 (13:03 +0000)
committerinv <inv@opencascade.com>
Mon, 2 Apr 2012 13:03:06 +0000 (13:03 +0000)
13 files changed:
config_CentOS_5.5_64bit.xml
config_Debian_4.0.xml
config_Debian_4.0_64bit.xml
config_Debian_5.0_64bit.xml
config_Debian_6.0_64bit.xml
config_Mandriva_2008.0.xml
config_Mandriva_2008.0_64bit.xml
config_Mandriva_2010.0.xml
config_Mandriva_2010.0_64bit.xml
config_Red_Hat_Enterprise_WS_4_64bit.xml
config_Scientific_SL_5.1_64bit.xml
config_files/cgnslib-3.1.3.sh [deleted file]
config_files/cgnslib.sh [new file with mode: 0755]

index 7c9d512131bb22309a90b68924f41c49178dfba3..ecfc5e6420aa5f587a32679a4db4162449893179 100755 (executable)
             type="prerequisite"
             description="Provides a standard for recording and recovering computer data associated with the numerical solution of the equations of fluid dynamics.">
       <installation os="CentOS 5.5 64bit"
-                    version="3.1.3" 
+                    version="3.1.3-4
                    disable="false"
                    installdiskspace="11524,11468,45860"
-                   script="cgnslib-3.1.3.sh"/>
+                   script="cgnslib.sh"/>
     </product>
     <product name="Med"
             type="prerequisite"
index 45f5c82950e646338715db43ca880621c77c5d4e..1b926d5162f24e1c8fb0dead253e65a54e75ce21 100755 (executable)
             type="prerequisite"
             description="Provides a standard for recording and recovering computer data associated with the numerical solution of the equations of fluid dynamics.">
       <installation os="Debian 4.0"
-                    version="3.1.3" 
+                    version="3.1.3-4
                    disable="false"
                    installdiskspace="11524,11468,45860"
-                   script="cgnslib-3.1.3.sh"/>
+                   script="cgnslib.sh"/>
     </product>
     <product name="Med"
             type="prerequisite"
index d24503a3071d16900fb343c6c9e41418a18c6a49..340c3334f48cccee876effe8aaa800830d40119b 100755 (executable)
             type="prerequisite"
             description="Provides a standard for recording and recovering computer data associated with the numerical solution of the equations of fluid dynamics.">
       <installation os="Debian 4.0 64bit"
-                    version="3.1.3" 
+                    version="3.1.3-4
                    disable="false"
                    installdiskspace="11524,11468,45860"
-                   script="cgnslib-3.1.3.sh"/>
+                   script="cgnslib.sh"/>
     </product>
     <product name="Med"
             type="prerequisite"
index 9beb4ea860cc52d703012c33fd0a353ce85f3c2d..b99dba8013e54ab85d2c2862dfa406417e088cda 100755 (executable)
             type="prerequisite"
             description="Provides a standard for recording and recovering computer data associated with the numerical solution of the equations of fluid dynamics.">
       <installation os="Debian 5.0 64bit"
-                    version="3.1.3" 
+                    version="3.1.3-4
                    disable="false"
                    installdiskspace="11524,11468,45860"
-                   script="cgnslib-3.1.3.sh"/>
+                   script="cgnslib.sh"/>
     </product>
     <product name="Med"
             type="prerequisite"
index 84f9a2e37ed361aa81c5b0d6843ecec118cb57e0..2dde834bc17cf6f46057b68876ea81d0d8de7022 100755 (executable)
             type="prerequisite"
             description="Provides a standard for recording and recovering computer data associated with the numerical solution of the equations of fluid dynamics.">
       <installation os="Debian 6.0 64bit"
-                    version="3.1.3" 
+                    version="3.1.3-4
                    disable="false"
                    installdiskspace="11524,11468,45860"
-                   script="cgnslib-3.1.3.sh"/>
+                   script="cgnslib.sh"/>
     </product>
     <product name="Med"
             type="prerequisite"
index baec070785e3eac1d6d6154add6b61b2661dd7e3..580e9b1f9bd69dbb0331c93dfc7d1a9c3d43a9a1 100755 (executable)
             type="prerequisite"
             description="Provides a standard for recording and recovering computer data associated with the numerical solution of the equations of fluid dynamics.">
       <installation os="Mandriva 2008.0"
-                    version="3.1.3" 
+                    version="3.1.3-4
                    disable="false"
                    installdiskspace="11524,11468,45860"
-                   script="cgnslib-3.1.3.sh"/>
+                   script="cgnslib.sh"/>
     </product>
     <product name="Med"
             type="prerequisite"
index b465c7db928e51aae3e9333810fde96cd86ad237..f8a663eb3d1745677d5eaace741b51ebd4478cb8 100755 (executable)
             type="prerequisite"
             description="Provides a standard for recording and recovering computer data associated with the numerical solution of the equations of fluid dynamics.">
       <installation os="Mandriva 2008.0 64bit"
-                    version="3.1.3" 
+                    version="3.1.3-4
                    disable="false"
                    installdiskspace="11524,11468,45860"
-                   script="cgnslib-3.1.3.sh"/>
+                   script="cgnslib.sh"/>
     </product>
     <product name="Med"
             type="prerequisite"
index cf6b67dd1a17ade87ebc687e9d3000e003622f63..81a830ec1a9fd4f29b43c5c31f0d5459b70d59de 100755 (executable)
             type="prerequisite"
             description="Provides a standard for recording and recovering computer data associated with the numerical solution of the equations of fluid dynamics.">
       <installation os="Mandriva 2010.0"
-                    version="3.1.3" 
+                    version="3.1.3-4
                    disable="false"
                    installdiskspace="11524,11468,45860"
-                   script="cgnslib-3.1.3.sh"/>
+                   script="cgnslib.sh"/>
     </product>
     <product name="Med"
             type="prerequisite"
index 47a05d28dc9423410ccfab5d70409e12a5bda4ba..0fe944df72cbe267dc25d2321c311e8ceaf91d03 100755 (executable)
             type="prerequisite"
             description="Provides a standard for recording and recovering computer data associated with the numerical solution of the equations of fluid dynamics.">
       <installation os="Mandriva 2010.0 64bit"
-                    version="3.1.3" 
+                    version="3.1.3-4
                    disable="false"
                    installdiskspace="11524,11468,45860"
-                   script="cgnslib-3.1.3.sh"/>
+                   script="cgnslib.sh"/>
     </product>
     <product name="Med"
             type="prerequisite"
index be9173a370ed6feb6182259ba6fd8fe57224e29c..7f20f4bd8a545296f70ffc9a3aa78f02ed95a92e 100755 (executable)
             type="prerequisite"
             description="Provides a standard for recording and recovering computer data associated with the numerical solution of the equations of fluid dynamics.">
       <installation os="Red Hat Enterprise WS 4 64bit"
-                    version="3.1.3" 
+                    version="3.1.3-4
                    disable="false"
                    installdiskspace="11524,11468,45860"
-                   script="cgnslib-3.1.3.sh"/>
+                   script="cgnslib.sh"/>
     </product>
     <product name="Med"
             type="prerequisite"
index e63c3178c2b8528fdb9d59e54fe107279f90b89a..6a33736e5f1b43f344862120af63b62b3dcfdeaa 100755 (executable)
             type="prerequisite"
             description="Provides a standard for recording and recovering computer data associated with the numerical solution of the equations of fluid dynamics.">
       <installation os="Scientific SL 5.1 64bit"
-                    version="3.1.3" 
+                    version="3.1.3-4
                    disable="false"
                    installdiskspace="11524,11468,45860"
-                   script="cgnslib-3.1.3.sh"/>
+                   script="cgnslib.sh"/>
     </product>
     <product name="Med"
             type="prerequisite"
diff --git a/config_files/cgnslib-3.1.3.sh b/config_files/cgnslib-3.1.3.sh
deleted file mode 100755 (executable)
index 58b6738..0000000
+++ /dev/null
@@ -1,148 +0,0 @@
-#!/bin/bash -noprofile
-
-####################################################################################
-#  File      : cgnslib-3.1.3.sh
-#  Created   : Thu Oct 10 12:01:00 2011
-#  Author    : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com)
-#  Project   : SALOME
-#  Module    : Installation Wizard
-#  Copyright : 2002-2011 CEA
-#
-#  This script is the part of the SALOME installation procedure.
-#
-####################################################################################
-
-#
-# Paraview version and lib version
-#
-CGNSVERSION=3.1.3
-
-check_version(){
-# No way to check version!
-return 0
-}
-
-print_env_bin()
-{
-cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
-#$DELIM ${PRODUCT_TYPE} $DELIM
-export CGNSHOME=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
-export PATH=\${CGNSHOME}/bin:\${PATH}
-export LD_LIBRARY_PATH=\${CGNSHOME}/lib:\${LD_LIBRARY_PATH}
-##
-EOF
-(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
-make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}"
-}
-
-print_env_src()
-{
-cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh <<EOF
-#$DELIM ${PRODUCT_TYPE}_src $DELIM
-# nothing to do
-##
-EOF
-(test -w ${PRODUCT_SRC_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh ${PRODUCT_SRC_DIR})
-make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}"
-}
-
-try_preinstalled(){
-try_existing ${PRODUCT_DIR} ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}
-try_existing ${PRODUCT_SRC_DIR} ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
-return $?
-}
-
-install_source()
-{
-make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
-source ${INSTALL_WORK}/$SHRC
-
-check_jb tar xfz ${SOURCE_DIR}/${PRODUCT}.tar.gz -C ${INST_ROOT}
-
-# to generate environment scripts
-try_preinstalled
-}
-
-install_source_and_build()
-{
-# install sources
-install_source
-
-# build sources
-test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
-
-export PRODUCT_BUILD_DIR=${PRODUCT_DIR}_build
-mkdir ${PRODUCT_BUILD_DIR}
-cd ${PRODUCT_BUILD_DIR}
-    
-CMAKE_OPTIONS=""
-
-### common settings
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCMAKE_INSTALL_PREFIX:STRING=${PRODUCT_DIR}"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCMAKE_BUILD_TYPE:STRING=Release"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DBUILD_SHARED_LIBS:BOOL=ON"
-
-### HDF5 settings
-if [ "${HDF5HOME}" != "" ]; then
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DENABLE_HDF5:BOOL=ON"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DHDF5_INCLUDE_PATH:PATH=${HDF5HOME}/include"
-CMAKE_OPTIONS=$CMAKE_OPTIONS" -DHDF5_LIBRARY:FILEPATH=${HDF5HOME}/lib/libhdf5.so"
-fi
-
-cat > ${PRODUCT_DIR}/CONFIGURE.LOG <<EOF
-cmake  : `which cmake`
-
-used settings:
-$CMAKE_OPTIONS
-EOF
-check_job ${PRODUCT_DIR}/CONFIGURE.LOG cmake ${PRODUCT_SRC_DIR} $CMAKE_OPTIONS
-cat > ${PRODUCT_DIR}/MAKE.LOG <<EOF
-used gcc=$GCC
-EOF
-check_job ${PRODUCT_DIR}/MAKE.LOG make -j4
-check_job ${PRODUCT_DIR}/MAKEINSTALL.LOG make install
-
-cd ${PRODUCT_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 ${PRODUCT_BUILD_DIR} && rm -fr ${PRODUCT_BUILD_DIR}
-fi
-
-# to generate environment scripts
-try_preinstalled
-}
-
-install_binary()
-{
-make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}
-source ${INSTALL_WORK}/$SHRC
-
-# create a product directory
-test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
-
-check_jb tar xfz ${SOURCE_DIR}/${PRODUCT}.tar.gz -C ${PRODUCT_DIR}
-
-cd ${PRODUCT_DIR}
-
-# to generate environment script for sources
-try_preinstalled
-}
-
-export PROCEDURE=$1;
-export INSTALL_WORK=$2;
-export SOURCE_DIR=$3;
-export INST_ROOT=$4;
-export PRODUCT_SEQUENCE=$5;
-export PRODUCT_TYPE=$6;
-export INSTALL_PRODUCTS=$7;
-shift
-REMOVE_SRC_TMP=$8;
-test $# == 10 && shift && SINGLE_DIR=$9
-export PRODUCT="cgnslib-${CGNSVERSION}"
-export PRODUCT_DIR=${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
-export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
-export PRODUCT_SRC_DIR=${INST_ROOT}/${PRODUCT}_SRC
-source ./common.sh
-$PROCEDURE 
diff --git a/config_files/cgnslib.sh b/config_files/cgnslib.sh
new file mode 100755 (executable)
index 0000000..6f7aa5d
--- /dev/null
@@ -0,0 +1,148 @@
+#!/bin/bash -noprofile
+
+####################################################################################
+#  File      : cgnslib.sh
+#  Created   : Thu Oct 10 12:01:00 2011
+#  Author    : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com)
+#  Project   : SALOME
+#  Module    : Installation Wizard
+#  Copyright : 2002-2012 CEA
+#
+#  This script is the part of the SALOME installation procedure.
+#
+####################################################################################
+
+#
+# cgns library version
+#
+CGNSVERSION=3.1.3
+
+check_version(){
+# No way to check version!
+return 0
+}
+
+print_env_bin()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
+#$DELIM ${PRODUCT_TYPE} $DELIM
+export CGNSHOME=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
+export PATH=\${CGNSHOME}/bin:\${PATH}
+export LD_LIBRARY_PATH=\${CGNSHOME}/lib:\${LD_LIBRARY_PATH}
+##
+EOF
+(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
+make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}"
+}
+
+print_env_src()
+{
+cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh <<EOF
+#$DELIM ${PRODUCT_TYPE}_src $DELIM
+# nothing to do
+##
+EOF
+(test -w ${PRODUCT_SRC_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}_src.sh ${PRODUCT_SRC_DIR})
+make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}"
+}
+
+try_preinstalled(){
+try_existing ${PRODUCT_DIR} ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}
+try_existing ${PRODUCT_SRC_DIR} ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
+return $?
+}
+
+install_source()
+{
+make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
+source ${INSTALL_WORK}/$SHRC
+
+check_jb tar xfz ${SOURCE_DIR}/${PRODUCT}.tar.gz -C ${INST_ROOT}
+
+# to generate environment scripts
+try_preinstalled
+}
+
+install_source_and_build()
+{
+# install sources
+install_source
+
+# build sources
+test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
+
+export PRODUCT_BUILD_DIR=${PRODUCT_DIR}_build
+mkdir ${PRODUCT_BUILD_DIR}
+cd ${PRODUCT_BUILD_DIR}
+    
+CMAKE_OPTIONS=""
+
+### common settings
+CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCMAKE_INSTALL_PREFIX:STRING=${PRODUCT_DIR}"
+CMAKE_OPTIONS=$CMAKE_OPTIONS" -DCMAKE_BUILD_TYPE:STRING=Release"
+CMAKE_OPTIONS=$CMAKE_OPTIONS" -DBUILD_SHARED_LIBS:BOOL=ON"
+
+### HDF5 settings
+if [ "${HDF5HOME}" != "" ]; then
+CMAKE_OPTIONS=$CMAKE_OPTIONS" -DENABLE_HDF5:BOOL=ON"
+CMAKE_OPTIONS=$CMAKE_OPTIONS" -DHDF5_INCLUDE_PATH:PATH=${HDF5HOME}/include"
+CMAKE_OPTIONS=$CMAKE_OPTIONS" -DHDF5_LIBRARY:FILEPATH=${HDF5HOME}/lib/libhdf5.so"
+fi
+
+cat > ${PRODUCT_DIR}/CONFIGURE.LOG <<EOF
+cmake  : `which cmake`
+
+used settings:
+$CMAKE_OPTIONS
+EOF
+check_job ${PRODUCT_DIR}/CONFIGURE.LOG cmake ${PRODUCT_SRC_DIR} $CMAKE_OPTIONS
+cat > ${PRODUCT_DIR}/MAKE.LOG <<EOF
+used gcc=$GCC
+EOF
+check_job ${PRODUCT_DIR}/MAKE.LOG make -j4
+check_job ${PRODUCT_DIR}/MAKEINSTALL.LOG make install
+
+cd ${PRODUCT_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 ${PRODUCT_BUILD_DIR} && rm -fr ${PRODUCT_BUILD_DIR}
+fi
+
+# to generate environment scripts
+try_preinstalled
+}
+
+install_binary()
+{
+make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}
+source ${INSTALL_WORK}/$SHRC
+
+# create a product directory
+test -z ${SINGLE_DIR} && makedir ${PRODUCT_DIR} || mkdir -p ${PRODUCT_DIR}
+
+check_jb tar xfz ${SOURCE_DIR}/${PRODUCT}.tar.gz -C ${PRODUCT_DIR}
+
+cd ${PRODUCT_DIR}
+
+# to generate environment script for sources
+try_preinstalled
+}
+
+export PROCEDURE=$1;
+export INSTALL_WORK=$2;
+export SOURCE_DIR=$3;
+export INST_ROOT=$4;
+export PRODUCT_SEQUENCE=$5;
+export PRODUCT_TYPE=$6;
+export INSTALL_PRODUCTS=$7;
+shift
+REMOVE_SRC_TMP=$8;
+test $# == 10 && shift && SINGLE_DIR=$9
+export PRODUCT="cgnslib-${CGNSVERSION}"
+export PRODUCT_DIR=${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
+export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT}
+export PRODUCT_SRC_DIR=${INST_ROOT}/${PRODUCT}_SRC
+source ./common.sh
+$PROCEDURE