| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Allows clang-cl and other MSVC-compatible compilers to build
correctly.
Closes gh-23506
[skip cirrus] [skip circle] [skip azp]
Co-authored-by: Alexander Neumann <Alexander.Neumann@hamburg.de>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* `configuration_data` does not support `lists` as the data argument
* ref: https://mesonbuild.com/Reference-manual_functions.html#arguments12
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
| |
|
|
|
|
|
|
| |
Odd PR timing/based on an older branch or seems to have hid,
this necessary addition when adding `_util`.
(Or we just missed it next to a lint failure)
|
|
This enables building with NumPy on Linux and macOS. Windows support
should be complete to, but is untested as of now and may need a few
tweaks. This contains:
- A set of `meson.build` files and related code generation script
tweaks, header templates, etc.
- One CI job on Linux
- Basic docs on using Meson to build NumPy (not yet integrated in the
html docs, it's too early for that - this is for early adopters right
now).
The build should be complete, with the major exception of SIMD support.
The full test suite passes. See gh-22546 for the tracking issue with
detailed notes on the plan for switching NumPy to Meson as its build
system.
Co-authored-by: Stefan van der Walt <stefanv@berkeley.edu>
|