From c604c163f339f4c27a5f0cb2866141901b2660dd Mon Sep 17 00:00:00 2001 From: Tom Vander Aa Date: Fri, 14 Jun 2024 10:09:59 +0200 Subject: [PATCH] conda: blas_impl --- conda-recipes/smurff/build.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/conda-recipes/smurff/build.sh b/conda-recipes/smurff/build.sh index 5322ffe1..58761329 100644 --- a/conda-recipes/smurff/build.sh +++ b/conda-recipes/smurff/build.sh @@ -1,14 +1,10 @@ #!/bin/bash -if [ $blas_impl == "mkl" ] +if [ "$blas_impl" == "mkl" ] then SKBUILD_CMAKE_ARGS="-DENABLE_MKL=ON" -elif [ $blas_impl == "openblas" ] -then - SKBUILD_CMAKE_ARGS="-DENABLE_OPENBLAS=ON" else - echo "Unknown BLAS impl: \"$blas_impl\"" - exit -1 + SKBUILD_CMAKE_ARGS="-DENABLE_OPENBLAS=ON" fi echo "extra CMAKE_ARGS: $SKBUILD_CMAKE_ARGS"