summaryrefslogtreecommitdiff
path: root/numpy/_build_utils/apple_accelerate.py
Commit message (Collapse)AuthorAgeFilesLines
* BUILD: Remove Accelerate support (#15759)Matti Picus2020-05-221-26/+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-031-2/+0
| | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior.
* 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: 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.
* BLD: Move numpy.build_utils -> numpy._build_utils, add to MANIFEST.inAlex Willmer2015-08-051-0/+21
This fixes the distutils built from an sdist (e.g. under tox), without including _build_utils in binary distributions or the installed numpy.