]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
Fix if Lapack native
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 27 Oct 2021 11:11:34 +0000 (13:11 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 27 Oct 2021 11:11:34 +0000 (13:11 +0200)
products/compil_scripts/openturns-1.17.sh

index efd59084e006486ebf3d0d36e01a0769de72653f..ce11fbe9e70b330081b12e2e3e4c8c07a169a0f2 100755 (executable)
@@ -56,7 +56,7 @@ else
 fi
 
 # Blas/Lapack
-if [ -n "$LAPACK_ROOT_DIR" ] && [ "${LAPACK_ROOT_DIR}" != "/usr" ]; then
+if [ -n "$LAPACK_ROOT_DIR" ] && [ "${LAPACK_ROOT_DIR}" != "/" ]; 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"