summaryrefslogtreecommitdiff
path: root/numpy/core/meson.build
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #23528 from seberg/allow-backcomp-buildsMatti Picus2023-04-281-1/+2
|\ | | | | ENH: Allow, and default to, downstream building with old API
| * MAINT: Bump version in mesonSebastian Berg2023-04-041-1/+2
| |
* | Merge pull request #23298 from seiko2plus/cpp_half_supportSebastian Berg2023-04-251-1/+4
|\ \ | | | | | | ENH: Extend the functionlty of C++ type `np::Half`
| * | ENH: Extend the functionlty of C++ type `np::Half`Sayed Adel2023-04-051-1/+4
| |/ | | | | | | | | | | | | | | | | | | - optimize float/double conversions on x86, requires for now raising up the baseline features to `f16c` at least during the build. - optimize float/double conversions on ppc64le, requires for now raising up the baseline features to `VSX3` at least during the build. - Brings `np::Half` to npymath
* | BLD: fix instances of MSVC detection in `meson.build`Ralf Gommers2023-04-071-3/+3
|/ | | | | | | | | | | 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>
* BLD: Check for submodules before build (#23372)Raghuveer Devulapalli2023-03-121-0/+3
| | | | | | | | | - DOC: update git clone command in doc to initialize submodules - BLD: Check for submodules before building - CI: update meson.build check and Cirrus for new git submodule [skip ci] Co-authored-by: Ralf Gommers <ralf.gommers@gmail.com>
* Merge pull request #23153 from seiko2plus/removes_old_cpu_dispatcherCharles Harris2023-02-221-29/+3
|\ | | | | SIMD: Get rid of attribute-based CPU dispatching
| * BLD, MESON: __builtin_prefetch is not limited to x86Sayed Adel2023-02-201-5/+1
| |
| * ENH, SIMD: dispatch the rest of all ufuncs with fast callsSayed Adel2023-02-201-1/+1
| |
| * ENH, SIMD: move auto-vectorized inner functions to new dispatchable sourceSayed Adel2023-02-201-0/+1
| |
| * MAINT, SIMD: Removes compiler definitions of attribute-based CPU dispatchingSayed Adel2023-02-201-25/+2
| |
* | MAINT: minor CI job, comments, and style changes to meson.build filesRalf Gommers2023-02-201-7/+5
| |
* | BUILD: add a windows meson CI job, tweak meson build parameters, fix typomattip2023-02-201-5/+11
| |
* | BUILD: fixes for MSVCMatti Picus2023-02-201-7/+17
| |
* | Fixups, but npyiter is blocking me as it actually uses the "clear" logic onceSebastian Berg2023-02-191-0/+1
|/
* Merge pull request #22315 from r-devulap/avxsortMatti Picus2023-02-151-2/+9
|\ | | | | ENH: Vectorize quicksort for 16-bit and 64-bit dtype using AVX512
| * fix up up mesonSayed Adel2023-02-071-1/+2
| |
| * fix up mesonSayed Adel2023-02-071-0/+5
| |
| * ENH, SIMD: reimplement CPU dispatching of qsortSayed Adel2023-02-071-2/+2
| | | | | | | | For a Few C++ More
| * Add x86 simd sort dispatch files to meson.buildRaghuveer Devulapalli2023-01-311-1/+2
| |
* | ENH, SIMD: Only dispatch AVX2 for arithmetic operationsSayed Adel2023-01-291-0/+1
| | | | | | | | no performance gain with AVX512 enabled except for absolute
* | ENH: remove raw SIMD of complex operationsSayed Adel2023-01-291-1/+0
|/
* Merge pull request #22165 from ↵Matti Picus2023-01-291-0/+1
|\ | | | | | | | | Developer-Ecosystem-Engineering/simd_isnan_isinf_isfinite_signbit ENH: Implement SIMD versions of isnan,isinf, isfinite and signbit
| * Update .gitignore and meson.build for loops_unary_fp_le.dispatch.c.srcDeveloper-Ecosystem-Engineering2023-01-041-0/+1
| |
* | MAINT: Move export for scipy arm64 helper into main moduleSebastian Berg2023-01-051-3/+3
|/ | | | | | | | | | | | | | | | | This is a follow up to gh-22679 which addressed gh-22673. The main thing is that we want the functions to be available after importing NumPy, so they need to be part of multiarray. However, `npymath` is a static library, so the symbols are not really exported there. The former PR did actually work in practice but this seems like it is technically the right place? For some reason, I had to add nextafter to be able to do: from scipy.spatial.distance import euclidean with the SciPy 1.9.3 wheels. SciPy test collection works with this for the 1.9.3 wheel, so this should be all the symbols hopefully.
* revert detection for meson.buildmattip2022-12-251-1/+5
|
* BLD: Help raspian arm + clang 13 about `__builtin_mul_overflow`Sebastian Berg2022-12-211-1/+2
| | | | | | | | | It seems on raspian arm with clang 13 `__builtin_mul_overflow` is defined for `int` but doesn't work for `ptrdiff_t` (and maybe others). This checks for `ptrdiff_t` instead of int, which was reported to work-around the issue. Closes gh-22811
* Merge pull request #22771 from seiko2plus/issue_22461Sebastian Berg2022-12-181-3/+3
|\ | | | | BUG, SIMD: Fix invalid value encountered in several ufuncs
| * BUG, SIMD: Fix invalid value encountered in rint/trunc/ceil/floor on x86/SSE2Sayed Adel2022-12-141-2/+1
| |
| * ENH, TST: Test all FP unary ufunc against any unexpected fp exceptionsSayed Adel2022-12-141-1/+2
| |
* | MAINT: remove unused API documentation generationmattip2022-12-151-2/+2
| |
* | Merge pull request #22167 from ↵Matti Picus2022-12-151-0/+1
|\ \ | | | | | | | | | | | | Developer-Ecosystem-Engineering/add_simd_bool_logical_andornot_absolute ENH: Add SIMD versions of bool logical_&&,||,! and absolute
| * | Add loops_logical.dispatch.c.src to meson.buildDeveloper-Ecosystem-Engineering2022-12-061-0/+1
| |/
* | BLD: fix issue in npymath on macOS arm64 in the Meson buildRalf Gommers2022-12-141-0/+3
|/ | | | | | | | | | | | | This was due to a cross-merge conflict. gh-22679 added a new file to the setup.py build, while the Meson build got merged. It's a file that only does anything on arm64 macOS, hence it wasn't noticed in CI. Addresses a "missing `npy_asinh`" problem discussed in gh-22796 [skip azp] [skip circle] [skip cirrus]
* Add loops_unary.dispatch.c.src to meson.buildDeveloper-Ecosystem-Engineering2022-11-291-0/+1
|
* MAINT: npymath cleanups for isnan, isinf, isinfinite, signbit, nextafter ↵Matti Picus2022-11-281-1/+0
| | | | | | | | | (#22684) * make isnan, isinf, isfinite, signbit, nextafter aliases * fixes from review Co-authored-by: Sebastian Berg <sebastianb@nvidia.com>
* BLD: enable building NumPy with MesonRalf Gommers2022-11-251-0/+929
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>