From: Guytri KASTANE Date: Tue, 17 Oct 2023 09:42:04 +0000 (+0200) Subject: Add new compile script for CO9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=40d1c610a3acf623a7d28eeced75f07e98ae5332;p=tools%2Fsat_salome.git Add new compile script for CO9 --- diff --git a/products/compil_scripts/nose-1.3.7.sh b/products/compil_scripts/nose-1.3.7.sh new file mode 100755 index 0000000..eb8d187 --- /dev/null +++ b/products/compil_scripts/nose-1.3.7.sh @@ -0,0 +1,35 @@ +#!/bin/bash + +echo "##########################################################################" +echo "Nose " $VERSION +echo "##########################################################################" + +echo "*** build in SOURCE directory" + +cd $BUILD_DIR +cp -R $SOURCE_DIR/* . + +export PATH=$(pwd)/bin:$PATH +export PYTHONPATH=$(pwd):$PYTHONPATH + +echo +echo "*** install with $PYTHONBIN" +$PYTHONBIN -m pip install --cache-dir=$BUILD_DIR/cache/pip . --no-deps --prefix=$PRODUCT_INSTALL +if [ $? -ne 0 ] +then + echo "ERROR on install" + exit 3 +fi + +# ensure that lib is used +if [ -d "$PRODUCT_INSTALL/lib64" ]; then + echo "WARNING: renaming lib64 directory to lib" + mv $PRODUCT_INSTALL/lib64 $PRODUCT_INSTALL/lib +elif [ -d "$PRODUCT_INSTALL/local/lib64" ]; then + echo "WARNING: renaming local/lib64 directory to lib" + mv $PRODUCT_INSTALL/local/lib64 $PRODUCT_INSTALL/lib + rm -rf $PRODUCT_INSTALL/local +fi + +echo +echo "########## END" diff --git a/products/compil_scripts/numpydoc-0.9.0.sh b/products/compil_scripts/numpydoc-0.9.0.sh new file mode 100755 index 0000000..6a62728 --- /dev/null +++ b/products/compil_scripts/numpydoc-0.9.0.sh @@ -0,0 +1,47 @@ +#!/bin/bash + +#!/bin/bash + +echo "##########################################################################" +echo "NumPy Doc " $VERSION +echo "##########################################################################" + +echo "*** build in SOURCE directory" + + +cd $BUILD_DIR +cp -R $SOURCE_DIR/* . + +export PATH=$(pwd)/bin:$PATH +export PYTHONPATH=$(pwd):$PYTHONPATH + +echo +echo "*** build with $PYTHONBIN" +$PYTHONBIN setup.py build +if [ $? -ne 0 ] +then + echo "ERROR on build" + exit 2 +fi + +echo +echo "*** install with $PYTHONBIN" +$PYTHONBIN setup.py install --prefix=$PRODUCT_INSTALL +if [ $? -ne 0 ] +then + echo "ERROR on install" + exit 3 +fi + +# ensure that lib is used +if [ -d "$PRODUCT_INSTALL/lib64" ]; then + echo "WARNING: renaming lib64 directory to lib" + mv $PRODUCT_INSTALL/lib64 $PRODUCT_INSTALL/lib +elif [ -d "$PRODUCT_INSTALL/local/lib64" ]; then + echo "WARNING: renaming local/lib64 directory to lib" + mv $PRODUCT_INSTALL/local/lib64 $PRODUCT_INSTALL/lib + rm -rf $PRODUCT_INSTALL/local +fi + +echo +echo "########## END" diff --git a/products/compil_scripts/pandas-1.1.5.sh b/products/compil_scripts/pandas-1.1.5.sh new file mode 100755 index 0000000..a16626f --- /dev/null +++ b/products/compil_scripts/pandas-1.1.5.sh @@ -0,0 +1,35 @@ +#!/bin/bash + +echo "##########################################################################" +echo "Pandas " $VERSION +echo "##########################################################################" + +echo "*** build in SOURCE directory" + +cd $BUILD_DIR +cp -R $SOURCE_DIR/* . + +export PATH=$(pwd)/bin:$PATH +export PYTHONPATH=$(pwd):$PYTHONPATH + +echo +echo "*** install with $PYTHONBIN" +$PYTHONBIN -m pip install --cache-dir=$BUILD_DIR/cache/pip . --no-deps --prefix=$PRODUCT_INSTALL +if [ $? -ne 0 ] +then + echo "ERROR on install" + exit 3 +fi + +# ensure that lib is used +if [ -d "$PRODUCT_INSTALL/lib64" ]; then + echo "WARNING: renaming lib64 directory to lib" + mv $PRODUCT_INSTALL/lib64 $PRODUCT_INSTALL/lib +elif [ -d "$PRODUCT_INSTALL/local/lib64" ]; then + echo "WARNING: renaming local/lib64 directory to lib" + mv $PRODUCT_INSTALL/local/lib64 $PRODUCT_INSTALL/lib + rm -rf $PRODUCT_INSTALL/local +fi + +echo +echo "########## END"