]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
spns #42820: updated configuration files and scripts for compilation on DB11
authorGuytri KASTANE <guytri.kastane@cea.fr>
Fri, 30 Aug 2024 12:46:48 +0000 (14:46 +0200)
committerGuytri KASTANE <guytri.kastane@cea.fr>
Fri, 30 Aug 2024 12:46:48 +0000 (14:46 +0200)
applications/SALOME-master-native.pyconf
products/compil_scripts/exhale-0.3.6.sh [new file with mode: 0755]
products/exhale.pyconf

index da7fdc1f9f7c59b5a9288380ed424018adf1717a..6bf92cb0d7515f0f6ac4461a9e1ad14c4bf1d0cb 100644 (file)
@@ -289,6 +289,7 @@ __overwrite__ :
         'APPLICATION.products.rich'             : 'native'
         'APPLICATION.products.meshio'           : {tag:'5.3.5', base:  'no', section: 'version_5_3_5_no_pip'}
         'APPLICATION.products.numpy'            : {tag: '1.20.3', base: 'no', section: 'version_1_20_3'        }
+        'APPLICATION.products.exhale'           : {tag: '0.3.6',  base: 'no', section: 'version_0_3_6_no_pip' }
     }
     {
         __condition__ : "VARS.dist in ['DB12']"
diff --git a/products/compil_scripts/exhale-0.3.6.sh b/products/compil_scripts/exhale-0.3.6.sh
new file mode 100755 (executable)
index 0000000..4ac62ed
--- /dev/null
@@ -0,0 +1,33 @@
+#!/bin/bash                                                                                                                                                                              
+
+echo "##########################################################################"
+echo "exhale" $VERSION
+echo "##########################################################################"
+
+LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION"
+
+if [ ! -d $PRODUCT_INSTALL ]; then
+    mkdir -p $PRODUCT_INSTALL
+fi
+
+rm -rf $BUILD_DIR
+mkdir -p $BUILD_DIR/cache/pip
+cd $BUILD_DIR
+
+WHEELS=('exhale-0.3.6-py3-none-any.whl')
+for WHEEL in "${WHEELS[@]}"; do
+    ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip  $SOURCE_DIR/$WHEEL --no-deps --target=$PRODUCT_INSTALL/lib/python${PYTHON_VERSION}/site-packages
+    if [ $? -ne 0 ]; then
+        echo "ERROR: could not install $WHEEL"
+        exit 1
+    fi
+done
+ls -ltr $PRODUCT_INSTALL/
+if [ -d ${PRODUCT_INSTALL}/lib64 ]; then
+    mv ${PRODUCT_INSTALL}/lib64 ${PRODUCT_INSTALL}/lib
+elif [ -d ${PRODUCT_INSTALL}/local ]; then
+    mv ${PRODUCT_INSTALL}/local ${PRODUCT_INSTALL}/lib
+fi
+
+echo
+echo "########## END"
index 633f8e7df8b174881d72a9172f6c1cf3f959e4c9..12fcd470d00abf3e24253b46ab726760066f7a01 100644 (file)
@@ -34,6 +34,14 @@ version_0_2_4_no_pip :
     {
       incremental : "yes"
       pip : "no"
-    }
-       
+    }  
+}
+version_0_3_6_no_pip : 
+{
+    compil_script :  'exhale-0.3.6.sh'
+    properties:
+    {
+      incremental : "yes"
+      pip : "no"
+    }  
 }