From: Konstantin Leontev Date: Tue, 8 Aug 2023 21:58:26 +0000 (+0100) Subject: Fixed openturns compilation on Debian because of using wrong version of Cython from... X-Git-Tag: V9_12_0~55 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fkleontev%2Ffix_openturns_compil_win;p=tools%2Fsat_salome.git Fixed openturns compilation on Debian because of using wrong version of Cython from pip while install scikit-learn 0.24.2. --- diff --git a/products/compil_scripts/openturns-1.20.1.sh b/products/compil_scripts/openturns-1.20.1.sh index d90b94d..86dfb68 100755 --- a/products/compil_scripts/openturns-1.20.1.sh +++ b/products/compil_scripts/openturns-1.20.1.sh @@ -300,7 +300,7 @@ if [[ -d "$SOURCE_DIR/otfftw-0.12" ]]; then continue fi echo "INFO: install scikit-learn-0.24.2" - ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/scikit-learn-0.24.2/scikit-learn-0.24.2.tar.gz --no-deps --prefix=$PRODUCT_INSTALL + ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/scikit-learn-0.24.2/scikit-learn-0.24.2.tar.gz --no-deps --prefix=$PRODUCT_INSTALL --no-build-isolation if [ $? -ne 0 ] then echo "FATAL: could not install scikit-0.24.2" @@ -346,7 +346,7 @@ if [[ -d "$SOURCE_DIR/otfftw-0.12" ]]; then exit 6 fi echo "INFO: install scikit-learn-0.24.2" - ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/scikit-learn-0.24.2/scikit-learn-0.24.2.tar.gz --no-deps + ${PYTHONBIN} -m pip install --cache-dir=$BUILD_DIR/cache/pip $SOURCE_DIR/scikit-learn-0.24.2/scikit-learn-0.24.2.tar.gz --no-deps --no-build-isolation if [ $? -ne 0 ] then echo "FATAL: could not install scikit-0.24.2"