Skip to content

Commit

Permalink
BLD: only check for scipy-openblas dependency with pkg-config
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
rgommers authored and charris committed Oct 21, 2023
1 parent e5b1ce1 commit b93e52e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ mkl_may_use_sdl = not use_ilp64 and _threading_opt in ['auto', 'iomp']
# First try scipy-openblas, and if found don't look for cblas or lapack, we
# know what's inside the scipy-openblas wheels already.
if blas_name == 'openblas' or blas_name == 'auto'
blas = dependency('scipy-openblas', required: false)
blas = dependency('scipy-openblas', method: 'pkg-config', required: false)
if blas.found()
blas_name = 'scipy-openblas'
endif
Expand Down

0 comments on commit b93e52e

Please sign in to comment.