Skip to content

Commit

Permalink
conda: blas_impl
Browse files Browse the repository at this point in the history
  • Loading branch information
tvandera committed Jun 14, 2024
1 parent fc0643c commit c604c16
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions conda-recipes/smurff/build.sh
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit c604c16

Please sign in to comment.