From: Guytri KASTANE Date: Thu, 3 Aug 2023 07:20:32 +0000 (+0200) Subject: Add options to fix sklearn compilation in openturns compil script X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fgk782450%2Fopenturns_fix_sklearn_compilation;p=tools%2Fsat_salome.git Add options to fix sklearn compilation in openturns compil script --- diff --git a/products/compil_scripts/openturns-1.20.1.sh b/products/compil_scripts/openturns-1.20.1.sh index d90b94d..4d6ce3c 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 --no-use-pep517 --no-build-isolation --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 if [ $? -ne 0 ] then echo "FATAL: could not install scikit-0.24.2"