]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Migrate DISTENE products to MeshGems suite v1.0
authorvsr <vsr@opencascade.com>
Fri, 19 Oct 2012 14:55:29 +0000 (14:55 +0000)
committervsr <vsr@opencascade.com>
Fri, 19 Oct 2012 14:55:29 +0000 (14:55 +0000)
config_files/DISTENE.sh

index 12359f21bea6c1f82b2525fde18a1913b3172d90..221b5c28b832855fab9dcee3dfb0001ae1dde373 100755 (executable)
 ####################################################################################
 
 #
-# ghs3d &blsurf versions
+# products versions
 #
+MESHGEMS_VERSION=1.0
+HEXOTIC_VERSION=1.0
 if test `uname -m` = "x86_64" ; then
-GHS3D41_VERSION=4.1_64
-GHS3D42_VERSION=4.2_64
-BLSURF_VERSION=3.1_64
-HEXOTIC_VERSION=1.0_64
-else
-GHS3D41_VERSION=4.1_32
-GHS3D42_VERSION=4.2_32
-BLSURF_VERSION=3.1_32
-HEXOTIC_VERSION=1.0_32
+  PLT_SUFFIX="_64"
 fi
 
 
@@ -38,10 +32,11 @@ print_env_bin()
 cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
 #$DELIM ${PRODUCT_TYPE} $DELIM
 export DISTENE_HOME=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
-export BLSURFHOME=\${DISTENE_HOME}/Tools/BLSurf-${BLSURF_VERSION}
-export HEXOTICHOME=\${DISTENE_HOME}/Tools/Hexotic-V${HEXOTIC_VERSION}
-export LD_LIBRARY_PATH=\${BLSURFHOME}/lib:\${LD_LIBRARY_PATH} 
-export PATH=\${HEXOTICHOME}/bin:\${DISTENE_HOME}/Tools/TetMesh-GHS3D${GHS3D41_VERSION}:\${DISTENE_HOME}/Tools/TetMesh-GHS3D${GHS3D42_VERSION}:\${PATH}
+export MESHGEMS_CADSURFHOME=\${DISTENE_HOME}/MeshGems-${MESHGEMS_VERSION}/Products
+export LD_LIBRARY_PATH=\${MESHGEMS_CADSURFHOME}/lib/Linux${PLT_SUFFIX}:\${LD_LIBRARY_PATH} 
+export PATH=\${MESHGEMS_CADSURFHOME}/bin/Linux${PLT_SUFFIX}:\${PATH} 
+export HEXOTICHOME=\${DISTENE_HOME}/Hexotic-${HEXOTIC_VERSION}
+export PATH=\${HEXOTICHOME}/bin/Linux${PLT_SUFFIX}:\${PATH} 
 ##
 EOF
 (test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})