Skip to content

Commit

Permalink
Add fall-through for blas if-else construct
Browse files Browse the repository at this point in the history
  • Loading branch information
danpetry committed Jan 14, 2025
1 parent 81363c0 commit e8d6740
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,11 @@ if [[ "$blas_impl" == "generic" ]]; then
# Fake openblas
export BLAS=OpenBLAS
export OpenBLAS_HOME=${PREFIX}
else
elif [[ "$blas_impl" == "mkl" ]]; then
export BLAS=MKL
else
echo "[ERROR] Unsupported BLAS implementation '${blas_impl}'" >&2
exit 1
fi

if [[ "$PKG_NAME" == "pytorch" ]]; then
Expand Down

0 comments on commit e8d6740

Please sign in to comment.