]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
spns #41854: DB10
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Mon, 13 May 2024 14:08:51 +0000 (16:08 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Mon, 13 May 2024 14:08:51 +0000 (16:08 +0200)
applications/SALOME-master-native.pyconf
products/compil_scripts/markdown-it-py-2.2.0.sh [new file with mode: 0755]
products/compil_scripts/meshio-5.3.4.sh [new file with mode: 0755]
products/markdown_it_py.pyconf
products/meshio.pyconf

index 21ab43c50bb044fe67753302072e9ee714c90db9..d9991ae804f8b920dccb1533749a1fd4bc2ef8bc 100644 (file)
@@ -264,6 +264,11 @@ __overwrite__ :
         'APPLICATION.products.swig'     : '4.0.2'
         'APPLICATION.products.openmpi'  : '4.1.5'
         'APPLICATION.products.MEDCOUPLING' : {tag:'master', base: 'no', section: 'default_MPI', hpc: 'yes'}
+        'APPLICATION.products.mdurl'            : {tag: '0.1.2', base: 'no', section: 'version_0_1_2_no_pip'    }
+        'APPLICATION.products.markdown_it_py'   : {tag: '2.2.0', base : 'no', section: 'version_2_2_0_no_pip'}
+        'APPLICATION.products.rich'             : {tag: '13.7.1', base: 'no', section: 'version_13_7_1_no_pip'   }
+        'APPLICATION.products.meshio'           : {tag: '5.3.4', base:  'no', section: 'version_5_3_4_no_pip'}
+        'APPLICATION.products.numpy'            : {tag: '1.20.3', base: 'no', section: 'version_1_20_3'        }
     }
     {
         __condition__ : "VARS.dist in ['DB11']"
diff --git a/products/compil_scripts/markdown-it-py-2.2.0.sh b/products/compil_scripts/markdown-it-py-2.2.0.sh
new file mode 100755 (executable)
index 0000000..8fbed50
--- /dev/null
@@ -0,0 +1,28 @@
+#!/bin/bash                                                                                                                                                                              
+
+echo "##########################################################################"
+echo "mdurl" $VERSION
+echo "##########################################################################"
+
+LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION"
+
+echo "*** check installation"
+mkdir -p ${PRODUCT_INSTALL}
+rm -rf $BUILD_DIR
+mkdir -p $BUILD_DIR/cache/pip
+cd $BUILD_DIR
+
+export PYTHONPATH=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages:$PYTHONPATH
+export PATH=${PRODUCT_INSTALL}/bin:$PATH
+
+WHEELS=('markdown_it_py-2.2.0-py3-none-any.whl')
+for WHEEL in "${WHEELS[@]}"; do
+    ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip  $SOURCE_DIR/$WHEEL --no-deps --prefix=$PRODUCT_INSTALL
+    if [ $? -ne 0 ]; then
+        echo "ERROR: could not install $WHEEL"
+        exit 1
+    fi
+done
+
+echo
+echo "########## END"
diff --git a/products/compil_scripts/meshio-5.3.4.sh b/products/compil_scripts/meshio-5.3.4.sh
new file mode 100755 (executable)
index 0000000..19ec707
--- /dev/null
@@ -0,0 +1,38 @@
+#!/bin/bash                                                                                                                                                                              
+
+echo "##########################################################################"
+echo "meshio" $VERSION
+echo "##########################################################################"
+
+LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION"
+
+echo "*** check installation"
+mkdir -p ${PRODUCT_INSTALL}
+rm -rf $BUILD_DIR
+mkdir -p $BUILD_DIR/cache/pip
+cd $BUILD_DIR
+
+export PYTHONPATH=${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages:$PYTHONPATH
+export PATH=${PRODUCT_INSTALL}/bin:$PATH
+
+case $LINUX_DISTRIBUTION in
+    DB10)
+        WHEELS=('typing_extensions-4.7.1-py3-none-any.whl'
+                'meshio-5.3.4-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
+        ;;
+    *)
+        echo "not implemented"
+        exit 1
+        ;;
+esac
+
+echo
+echo "########## END"
index 0d3e1fd9a5b92bbb2f2f4690152aa723acfc7780..47a78c74bddb4adb870ac13cec3a19ca2af4bf2a 100644 (file)
@@ -39,6 +39,9 @@ version_3_0_0_no_pip:
    }
 }
 
+version_3_0_0:
+{}
+
 version_3_0_0_win:
 {
    archive_info : {archive_name : "markdown-it-py-3.0.0.tar.gz"}
@@ -48,3 +51,14 @@ version_3_0_0_win:
      pip : "yes"
    }
 }
+
+version_2_2_0_no_pip:
+{
+   compil_script: "markdown-it-py-2.2.0"  + $VARS.scriptExtension
+   archive_info : {archive_name : "markdown-it-py-2.2.0-x86_64.tar.gz"}
+   properties :
+   {
+     incremental : "yes"
+     pip : "no"
+   }
+}
index c1e6e7ca944facdfa5930937265bb779f399de22..3dbe3c33d4af1c099541ecba4c6282c6c37b9a15 100644 (file)
@@ -29,10 +29,6 @@ default :
     }
 }
 
-version_5_3_5 :
-{
-}
-
 version_5_3_5_no_pip :
 {
    compil_script: "meshio-5.3.5"  + $VARS.scriptExtension
@@ -45,6 +41,10 @@ version_5_3_5_no_pip :
    }
 }
 
+version_5_3_5 :
+{
+}
+
 version_5_3_5_win :
 {
    compil_script: "meshio-5.3.5.bat"
@@ -57,3 +57,15 @@ version_5_3_5_win :
    }
     depend : ['Python', 'numpy', 'hdf5', 'h5py','rich', 'netCDF4']
 }
+
+version_5_3_4_no_pip :
+{
+   compil_script: "meshio-5.3.4"  + $VARS.scriptExtension
+   archive_info : {archive_name : "meshio-5.3.4-x86_64.tar.gz"}
+   properties :
+   {
+     incremental : "yes"
+     pip : "no"
+     single_install_dir : "no"
+   }
+}