GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — BLD: fix `_umath_linalg` dependencies (#24584) · charris/numpy@4839060

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • numpy/linalg
    • meson.build
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎numpy/linalg/meson.build‎

Copy file name to clipboardExpand all lines: numpy/linalg/meson.build
+21-19Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,37 @@
1+
# Note that `python_xerbla.c` was excluded on Windows in setup.py;
2+
# unclear why and it seems needed, so unconditionally used here.
13
lapack_lite_sources = [
2-
'lapack_lite/f2c.c',
3-
'lapack_lite/f2c_c_lapack.c',
4-
'lapack_lite/f2c_d_lapack.c',
5-
'lapack_lite/f2c_s_lapack.c',
6-
'lapack_lite/f2c_z_lapack.c',
7-
'lapack_lite/f2c_blas.c',
8-
'lapack_lite/f2c_config.c',
9-
'lapack_lite/f2c_lapack.c',
104
'lapack_lite/python_xerbla.c',
115
]
12-
13-
# TODO: ILP64 support
14-
15-
lapack_lite_module_src = ['lapack_litemodule.c']
166
if not have_lapack
17-
warning('LAPACK was not found, NumPy is using an unoptimized, naive build from sources!')
18-
lapack_lite_module_src += lapack_lite_sources
7+
lapack_lite_sources += [
8+
'lapack_lite/f2c.c',
9+
'lapack_lite/f2c_c_lapack.c',
10+
'lapack_lite/f2c_d_lapack.c',
11+
'lapack_lite/f2c_s_lapack.c',
12+
'lapack_lite/f2c_z_lapack.c',
13+
'lapack_lite/f2c_blas.c',
14+
'lapack_lite/f2c_config.c',
15+
'lapack_lite/f2c_lapack.c',
16+
]
1917
endif
2018

2119
py.extension_module('lapack_lite',
22-
lapack_lite_module_src,
20+
[
21+
'lapack_litemodule.c',
22+
lapack_lite_sources,
23+
],
2324
dependencies: [np_core_dep, blas_dep, lapack_dep],
2425
install: true,
2526
subdir: 'numpy/linalg',
2627
)
2728

28-
_umath_linalg_src = ['umath_linalg.cpp'] + lapack_lite_sources
29-
3029
py.extension_module('_umath_linalg',
31-
_umath_linalg_src,
32-
dependencies: np_core_dep,
30+
[
31+
'umath_linalg.cpp',
32+
lapack_lite_sources,
33+
],
34+
dependencies: [np_core_dep, blas_dep, lapack_dep],
3335
link_with: npymath_lib,
3436
install: true,
3537
subdir: 'numpy/linalg',

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.