From: Nabil Ghodbane Date: Wed, 27 Oct 2021 11:11:34 +0000 (+0200) Subject: Fix if Lapack native X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ec4722558e664f975a0fe866026ac24b52f9368e;p=tools%2Fsat_salome.git Fix if Lapack native --- diff --git a/products/compil_scripts/openturns-1.17.sh b/products/compil_scripts/openturns-1.17.sh index efd5908..ce11fbe 100755 --- a/products/compil_scripts/openturns-1.17.sh +++ b/products/compil_scripts/openturns-1.17.sh @@ -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"