summaryrefslogtreecommitdiff
path: root/numpy/_build_utils
Commit message (Collapse)AuthorAgeFilesLines
* BLD: enable building NumPy with MesonRalf Gommers2022-11-255-0/+184
| | | | | | | | | | | | | | | | | | | 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>
* BUILD: Remove Accelerate support (#15759)Matti Picus2020-05-224-287/+0
| | | | | | | Remove support for Apple Accelerate, since it is buggy. A build error should occur on most or all setups if linked against Accelerate. Test or import failures should occur on setups where Accelerate is picked up dynamically. Co-authored-by: Warren Weckesser <warren.weckesser@gmail.com>
* MAINT: Remove unnecessary 'from __future__ import ...' statementsJon Dufresne2020-01-032-3/+0
| | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior.
* Merge pull request #13060 from bran206/masterCharles Harris2019-04-101-5/+31
|\ | | | | BUG: Use C call to sysctlbyname for AVX detection on MacOS
| * BUG: Use C call to sysctlbyname for AVX detection on MacOSBran2019-04-051-6/+14
| |
| * AVX detection fails on MacOS if $PATH doesn't contain /usr/sbin #7801Bran2019-03-141-15/+15
| |
| * AVX detection fails on MacOS if $PATH doesn't contain /usr/sbin #7801Bran2019-03-041-1/+1
| |
| * AVX detection fails on MacOS if ↵Bran2019-03-041-13/+19
| | | | | | | | /home/bran/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Program Files/dotnet:/mnt/c/Program Files/Microsoft SQL Server/130/Tools/Binn:/mnt/c/Program Files/PuTTY:/mnt/c/Users/Bran/AppData/Local/Programs/Python/Python37/Scripts:/mnt/c/Users/Bran/AppData/Local/Programs/Python/Python37:/mnt/c/Users/Bran/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/Bran/AppData/Local/Programs/Microsoft VS Code/bin:/snap/bin doesn't contain /usr/sbin #7801…
| * AVX detection fails on MacOS if $PATH doesn't contain /usr/sbin #7801 -- fixBran2019-02-271-5/+17
| |
* | STY: Fix weird indents to be multiples of 4 spacesEric Wieser2019-03-201-27/+27
|/
* BLD: Add configuration to allow cross platform builds for iOS.Russell Keith-Magee2018-03-041-0/+5
| | | | | | | | When building NumPy for iOS, you build on macOS, with compiler flags to target iOS or the iOS simulator. However, setup.py runs on macOS, so sys.platform == 'darwin', regardless of the platform being targetted. distutils provides an environment variable - _PYTHON_HOST_PLATFORM - to indicate when you are building for a different platform. This patches uses that variable to identify cross-platform builds and disable macOS specific features. The patch also renames an internal method in strfuncs to avoid a collision with a symbol in iOS's standard library, and includes math.h to avoid errors about undefined symbols.
* MAINT: Delete unused _build_utils/common.pyEric Wieser2018-02-011-138/+0
| | | | This file contains outdated copies of the functions in core/setup_common.py
* Change 'pubic' to 'public'.mmartin2016-02-131-1/+1
|
* MAINT: Fix some typos in a code string and commentsDongjoon Hyun2016-01-271-1/+1
|
* MAINT: Include from __future__ boilerplate in some files missing it.Charles Harris2015-12-051-0/+2
| | | | | Some newer *.py files are missing the `from __future__` boilerplate that helps assure Python2 and Python3 compatibility.
* MAINT: remove _build_utils/waf.py.Ralf Gommers2015-11-071-528/+0
| | | | This was used by Bento, and support for Bento was removed in gh-6268.
* MAINT: list litteralRémy Léone2015-11-071-4/+1
|
* DOC: Add warning about numpy._build_utilsAlex Willmer2015-08-051-0/+8
|
* BLD: Move numpy.build_utils -> numpy._build_utils, add to MANIFEST.inAlex Willmer2015-08-055-0/+918
This fixes the distutils built from an sdist (e.g. under tox), without including _build_utils in binary distributions or the installed numpy.