]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
Add options to fix sklearn compilation in openturns compil script gk782450/openturns_fix_sklearn_compilation
authorGuytri KASTANE <guytri.kastane@cea.fr>
Thu, 3 Aug 2023 07:20:32 +0000 (09:20 +0200)
committerGuytri KASTANE <guytri.kastane@cea.fr>
Thu, 3 Aug 2023 07:20:32 +0000 (09:20 +0200)
products/compil_scripts/openturns-1.20.1.sh

index d90b94d9a5f0d95c05bbd773a6077352a67ecfea..4d6ce3c4c4d2bd3d8cf4a09997e30dc5a6d2b2a7 100755 (executable)
@@ -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"