8000 ENH: Adopt new macOS Accelerate BLAS/LAPACK Interfaces, including ILP64 by Developer-Ecosystem-Engineering · Pull Request #24053 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

ENH: Adopt new macOS Accelerate BLAS/LAPACK Interfaces, including ILP64 #24053

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prev Previous commit
Next Next commit
Remove duplicate ilp64 option parsing
8000
  • Loading branch information
rgommers committed Aug 30, 2023
commit 4fc68ff98f9198a0649f95c4f45736a2a32cfe66
12 changes: 0 additions & 12 deletions numpy/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -88,18 +88,6 @@ endif
# https://github.com/mesonbuild/meson/issues/2835
blas_name = get_option('blas')
lapack_name = get_option('lapack')
use_ilp64 = get_option('use-ilp64')
if not use_ilp64
# For now, keep supporting this environment variable too (same as in setup.py)
# `false is the default for the CLI flag, so check if env var was set
use_ilp64 = run_command(py,
[
'-c',
'import os; print(1) if os.environ.get("NPY_USE_BLAS_ILP64", "0") != "0" else print(0)'
],
check: true
).stdout().strip() == '1'
endif

# 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
Expand Down
0