summaryrefslogtreecommitdiff
path: root/numpy/array_api/_array_object.py
diff options
context:
space:
mode:
authorGanesh Kathiresan <ganesh3597@gmail.com>2023-01-24 15:49:43 +0530
committerGitHub <noreply@github.com>2023-01-24 11:19:43 +0100
commit04823c1a95e23c55432a78c7c7414c040279c2e1 (patch)
treef5a885b5fe175131cefe770213c9d9eab95f054c /numpy/array_api/_array_object.py
parent172a1942893b5ce55abccd836fdd9f00235a6767 (diff)
downloadnumpy-04823c1a95e23c55432a78c7c7414c040279c2e1.tar.gz
BLD: Meson `__config__` generation (#22769)
Add functionality to autogenerate build information for a Meson-based build. In order to add new information, do the following: - Add the information as an argument in `numpy/meson.build` - Modify `__config__.py.in` to accept the new argument Note that SIMD information is added to config, but is WIP/empty, because `__cpu*` lists are not yet populated as meson does not build SIMD features yet. There are two display modes: - `stdout`: Uses `PyYaml` to display in a human friendly format. Uses `json` if `PyYaml` is not installed - `dicts`: Returns a `dict` object Things will work fine without `pyyaml` installed, an unobtrusive warning is displayed that the printed output will look better with `pyyaml`. [ci skip]
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions