Author: Diane Trout Description: Force the build system to use netlib blas & lapack Forwarded: no --- a/skmisc/meson.build +++ b/skmisc/meson.build @@ -165,8 +165,8 @@ # For MKL and for auto-detecting one of multiple libs, we'll need a custom # dependency in Meson (like is done for scalapack) - see # https://github.com/mesonbuild/meson/issues/2835 -blas_name = get_option('blas') -lapack_name = get_option('lapack') +blas_name = 'blas' +lapack_name = 'lapack' # pkg-config uses a lower-case name while CMake uses a capitalized name, so try # that too to make the fallback detection with CMake work if blas_name == 'openblas' @@ -180,7 +180,7 @@ # In the future, this should be done automatically for: # `dependency('blas', modules: cblas)` # see https://github.com/mesonbuild/meson/pull/10921. - cblas = dependency('cblas') + cblas = dependency('blas') else cblas = [] endif