From ec4722558e664f975a0fe866026ac24b52f9368e Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Wed, 27 Oct 2021 13:11:34 +0200 Subject: [PATCH] Fix if Lapack native --- products/compil_scripts/openturns-1.17.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.39.2