Skip to content

Commit b93e52e

Browse files
rgommerscharris
authored andcommitted
BLD: only check for scipy-openblas dependency with pkg-config
This is a custom-built wheel that can only be detected through pkg-config. So trying other methods just costs time and increases the size of `meson-log.txt`.
1 parent e5b1ce1 commit b93e52e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ mkl_may_use_sdl = not use_ilp64 and _threading_opt in ['auto', 'iomp']
9393
# First try scipy-openblas, and if found don't look for cblas or lapack, we
9494
# know what's inside the scipy-openblas wheels already.
9595
if blas_name == 'openblas' or blas_name == 'auto'
96-
blas = dependency('scipy-openblas', required: false)
96+
blas = dependency('scipy-openblas', method: 'pkg-config', required: false)
9797
if blas.found()
9898
blas_name = 'scipy-openblas'
9999
endif

0 commit comments

Comments
 (0)