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
Merge branch 'main' into adopt_new_blas_lapack_ilp64
  • Loading branch information
rgommers committed Aug 30, 2023
commit d408397102b086191edc703aa3288d6a45469256
21 changes: 12 additions & 9 deletions numpy/linalg/meson.build
708F
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Note that `python_xerbla.c` was excluded on Windows in setup.py;
# unclear why and it seems needed, so unconditionally used here.
python_xerbla_sources = ['lapack_lite/python_xerbla.c']

lapack_lite_sources = []
if not have_lapack
warning('LAPACK was not found, NumPy is using an unoptimized, naive build from sources!')
lapack_lite_sources = [
'lapack_lite/f2c.c',
'lapack_lite/f2c_c_lapack.c',
Expand All @@ -15,21 +16,23 @@ if not have_lapack
]
endif

# TODO: ILP64 support

lapack_lite_module_src = ['lapack_litemodule.c']

py.extension_module('lapack_lite',
lapack_lite_module_src + python_xerbla_sources + lapack_lite_sources,
[
'lapack_litemodule.c',
python_xerbla_sources,
lapack_lite_sources,
],
dependencies: [np_core_dep, blas_dep, lapack_dep],
install: true,
subdir: 'numpy/linalg',
)

_umath_linalg_src = ['umath_linalg.cpp']

py.extension_module('_umath_linalg',
_umath_linalg_src + python_xerbla_sources + lapack_lite_sources,
[
'umath_linalg.cpp',
python_xerbla_sources,
lapack_lite_sources,
],
dependencies: [np_core_dep, blas_dep, lapack_dep],
link_with: npymath_lib,
install: true,
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.
0