| 1 |
Author: Diane Trout <[email protected]> |
| 2 |
Description: Force the build system to use netlib blas & lapack |
| 3 |
Forwarded: no |
| 4 |
|
| 5 |
--- a/skmisc/meson.build |
| 6 |
+++ b/skmisc/meson.build |
| 7 |
@@ -165,8 +165,8 @@ |
| 8 |
# For MKL and for auto-detecting one of multiple libs, we'll need a custom |
| 9 |
# dependency in Meson (like is done for scalapack) - see |
| 10 |
# https://github.com/mesonbuild/meson/issues/2835 |
| 11 |
|
| 12 |
|
| 13 |
+blas_name = 'blas' |
| 14 |
+lapack_name = 'lapack' |
| 15 |
# pkg-config uses a lower-case name while CMake uses a capitalized name, so try |
| 16 |
# that too to make the fallback detection with CMake work |
| 17 |
if blas_name == 'openblas' |
| 18 |
@@ -180,7 +180,7 @@ |
| 19 |
# In the future, this should be done automatically for: |
| 20 |
# `dependency('blas', modules: cblas)` |
| 21 |
# see https://github.com/mesonbuild/meson/pull/10921. |
| 22 |
|
| 23 |
+ cblas = dependency('blas') |
| 24 |
else |
| 25 |
cblas = [] |
| 26 |
endif |