Skip to content

Commit

Permalink
BLD: Make NumPy build reproducibly (#26474)
Browse files Browse the repository at this point in the history
* Write actual lapack dependency to __config__.py
* Build .s assembly files as source files
  • Loading branch information
roehling committed May 21, 2024
1 parent b36f848 commit aad6c9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions numpy/_core/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
2 changes: 1 addition & 1 deletion numpy/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit aad6c9c

Please sign in to comment.