Skip to content

Commit

Permalink
[SCons] Skip autodetection of BLAS/LAPACK if Sundials spport is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
ischoegl committed Jun 5, 2022
1 parent 80263b6 commit 6c0e8b0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -1368,7 +1368,11 @@ if env["blas_lapack_libs"]:
elif env["matlab_path"] != "" and env["matlab_toolbox"] == "default":
# MATLAB provides the mwlapack and mwblas libraries in matlabroot/extern/lib.
logger.info("Skip auto-detection of Intel MKL / OpenBLAS as they are not "
"compatible with the MATLAB toolbox")
"compatible with the MATLAB toolbox.")

elif not env["has_sundials_lapack"]:
logger.info("Skip auto-detection of Intel MKL / OpenBLAS as Sundials was built "
"without this support.")

else:
# auto-detect versions
Expand Down

0 comments on commit 6c0e8b0

Please sign in to comment.