From: Guytri KASTANE Date: Fri, 30 Aug 2024 12:46:48 +0000 (+0200) Subject: spns #42820: updated configuration files and scripts for compilation on DB11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2a25a1feb8ac1d5a6eabeea7158b9b79b668b31b;p=tools%2Fsat_salome.git spns #42820: updated configuration files and scripts for compilation on DB11 --- diff --git a/applications/SALOME-master-native.pyconf b/applications/SALOME-master-native.pyconf index da7fdc1..6bf92cb 100644 --- a/applications/SALOME-master-native.pyconf +++ b/applications/SALOME-master-native.pyconf @@ -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 index 0000000..4ac62ed --- /dev/null +++ b/products/compil_scripts/exhale-0.3.6.sh @@ -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" diff --git a/products/exhale.pyconf b/products/exhale.pyconf index 633f8e7..12fcd47 100644 --- a/products/exhale.pyconf +++ b/products/exhale.pyconf @@ -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" + } }