From aad6c9cd1958309110f9892d10b28b1beea9c670 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20R=C3=B6hling?= Date: Tue, 21 May 2024 21:12:45 +0200 Subject: [PATCH] BLD: Make NumPy build reproducibly (#26474) * Write actual lapack dependency to __config__.py * Build .s assembly files as source files --- numpy/_core/meson.build | 3 +-- numpy/meson.build | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/numpy/_core/meson.build b/numpy/_core/meson.build index 5a343340d315..dbe76e0a3dea 100644 --- a/numpy/_core/meson.build +++ b/numpy/_core/meson.build @@ -1206,8 +1206,7 @@ py.extension_module('_multiarray_umath', src_numpy_api[1], # __multiarray_api.h src_umath_doc_h, npy_math_internal_h, - ], - objects: svml_objects, + ] + svml_objects, c_args: c_args_common, cpp_args: cpp_args_common, include_directories: [ diff --git a/numpy/meson.build b/numpy/meson.build index 1d35e7dc4fec..1190c00e0042 100644 --- a/numpy/meson.build +++ b/numpy/meson.build @@ -366,7 +366,7 @@ conf_data.set('PYTHON_VERSION', py.language_version()) # `np.show_config()`; needs some special handling for the case BLAS was found # but CBLAS not (and hence BLAS was also disabled) dependency_map = { - 'LAPACK': lapack_dep, + 'LAPACK': lapack, } if have_blas dependency_map += {'BLAS': blas}