Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BLD: Add lapack_lite_module back + support win32noblas #58

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

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions numpy/linalg/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,13 @@ lapack_lite_sources = [
# TODO: ILP64 support

lapack_lite_module_src = ['lapack_litemodule.c']
_umath_linalg_src = ['umath_linalg.cpp']

if not have_lapack
lapack_lite_module_src += lapack_lite_sources
_umath_linalg_src += lapack_lite_sources
elif not is_windows
_umath_linalg_src += ['lapack_lite/python_xerbla.c']
endif

py.extension_module('lapack_lite',
Expand All @@ -24,11 +29,9 @@ py.extension_module('lapack_lite',
subdir: 'numpy/linalg',
)

_umath_linalg_src = ['umath_linalg.cpp'] + lapack_lite_sources

py.extension_module('_umath_linalg',
_umath_linalg_src,
dependencies: np_core_dep,
dependencies: [np_core_dep, blas_dep, lapack_dep],
link_with: npymath_lib,
install: true,
subdir: 'numpy/linalg',
Expand Down