From: Guytri KASTANE Date: Thu, 28 Sep 2023 10:30:42 +0000 (+0200) Subject: Fix conditions in petsc compil script X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=67521ed2fa6e5a18701c627f560a4243cca88890;p=tools%2Fsat_salome.git Fix conditions in petsc compil script --- diff --git a/products/compil_scripts/petsc-3.17.0.sh b/products/compil_scripts/petsc-3.17.0.sh index 03f8596..605f727 100755 --- a/products/compil_scripts/petsc-3.17.0.sh +++ b/products/compil_scripts/petsc-3.17.0.sh @@ -16,7 +16,7 @@ CONFIGURE_FLAGS+=" --download-slepc=ext/slepc-3.19.2.tar.gz" if [ -f "${NATIVE_PATH}/liblapack.a" ] && [ "${SAT_lapack_IS_NATIVE}" == "1" ]; then CONFIGURE_FLAGS+=" --with-blaslapack-dir=${NATIVE_PATH}" elif [ -n "${LAPACK_ROOT_DIR}" ] && [ "${SAT_lapack_IS_NATIVE}" != "1" ]; then - CONFIGURE_FLAGS+=" --with-blaslapack-dir=${LAPACK_ROOT_DIR}" + CONFIGURE_FLAGS+=" --with-blaslapack-dir=${LAPACK_ROOT_DIR}" else CONFIGURE_FLAGS+=" --download-f2cblaslapack=ext/f2cblaslapack-3.8.0.q2.tar.gz" fi