]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
Cython 0.29.12
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Tue, 26 Oct 2021 12:49:40 +0000 (14:49 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Tue, 26 Oct 2021 12:49:40 +0000 (14:49 +0200)
applications/SALOME-master.pyconf
products/compil_scripts/openturns-1.17.sh

index a27f6d46b46b7c7fdb5c03694af508ff52e0a83d..fe52096e2199f75a2f608ac4992482536b11d26f 100644 (file)
@@ -40,7 +40,7 @@ APPLICATION :
         cminpack: '1.3.6'
         cppunit : '1.13.2'
         cycler : '0.10.0'
-        Cython : '0.25.2'
+        Cython : '0.29.12'
         dateutil : '2.6.1'
         docutils : '0.12'
         doxygen : '1.8.14'
index ae58964f90f385be37d35ee9e245bfabd43bb3c2..efd59084e006486ebf3d0d36e01a0769de72653f 100755 (executable)
@@ -4,7 +4,6 @@ echo "##########################################################################
 echo "openturns" $VERSION
 echo "##########################################################################"
 
-COPY_OPENTURNS=0
 # we don't install in python directory -> modify environment as described in INSTALL file
 mkdir -p $PRODUCT_INSTALL/lib/python${PYTHON_VERSION:0:3}/site-packages
 export PATH=$(pwd)/bin:$PATH
@@ -61,6 +60,7 @@ if [ -n "$LAPACK_ROOT_DIR" ] && [ "${LAPACK_ROOT_DIR}" != "/usr" ]; then
     CMAKE_OPTIONS+=" -DLAPACK_DIR=${LAPACK_ROOT_DIR}/lib/cmake/lapack-3.8.0"
     CMAKE_OPTIONS+=" -DCBLAS_DIR=${LAPACK_ROOT_DIR}/lib/cmake/cblas-3.8.0"
     CMAKE_OPTIONS+=" -DCBLAS_LIBRARIES=$LAPACK_ROOT_DIR/lib/libcblas.so"
+    CMAKE_OPTIONS+=" -DBLAS_LIBRARIES=$LAPACK_ROOT_DIR/lib/libblas.so"
 fi
 
 ### libxml2 settings
@@ -199,6 +199,48 @@ if [[ -d "$SOURCE_DIR/otfftw-0.11" ]]; then
     do 
         echo
         echo "*** C O M P O N E N T : $k-${OTP[$k]} "
+       
+       # For non native builds install everything, since Python is embedded
+       if [[ ! $APPLICATION_NAME =~ native ]]; then
+            if [[ $k == "otfmi" ]]; then
+               echo "INFO: install dill-0.3.4"
+               ${PYTHONBIN} -m pip install $SOURCE_DIR/dill-0.3.4/dill-0.3.4-py2.py3-none-any.whl --no-deps
+               if [ $? -ne 0 ]
+               then
+                   echo "FATAL: could not install dikk-0.3.4"
+                   exit 5
+               fi
+           elif [[ $k == "otpod" ]]; then
+               echo "INFO: install threadpoolctl-3.0.0"
+               ${PYTHONBIN} -m pip install $SOURCE_DIR/threadpoolctl-3.0.0/threadpoolctl-3.0.0-py3-none-any.whl --no-deps
+               if [ $? -ne 0 ]
+               then
+                   echo "FATAL: could not install readpoolctl 3.0.0"
+                   exit 6
+               fi
+               echo "INFO: install joblib-1.1.0"
+               ${PYTHONBIN} -m pip install $SOURCE_DIR/joblib-1.1.0/joblib-1.1.0-py2.py3-none-any.whl --no-deps
+               if [ $? -ne 0 ]
+               then
+                   echo "FATAL: could not install joblib-1.1.0"
+                   exit 6
+               fi
+               echo "INFO: install decorator-5.1.0"
+               ${PYTHONBIN} -m pip install $SOURCE_DIR/decorator-5.1.0/decorator-5.1.0-py3-none-any.whl --no-deps
+               if [ $? -ne 0 ]
+               then
+                   echo "FATAL: could not install decorator-5.1.0"
+                   exit 6
+               fi
+               echo "INFO: install scikit-learn-0.24.2"
+               ${PYTHONBIN} -m pip install $SOURCE_DIR/scikit-learn-0.24.2/scikit-learn-0.24.2.tar.gz --no-deps
+               if [ $? -ne 0 ]
+               then
+                   echo "FATAL: could not install scikit-0.24.2"
+                   exit 6
+               fi
+           fi
+       fi
 
         cd  $BUILD_DIR
         mkdir ${BUILD_DIR}/$k