summaryrefslogtreecommitdiff
path: root/numpy/distutils
Commit message (Collapse)AuthorAgeFilesLines
* BLD, MAINT: add platform info to the final optimization reportSayed Adel2020-12-201-10/+12
|
* BLD, BUG: Fix detecting aarch64 on macOSSayed Adel2020-12-203-77/+73
| | | | Co-authored-by: h-vetinari <h.vetinari@gmx.com>
* Merge pull request #17906 from fxcoudert/patch-1Ralf Gommers2020-12-121-1/+1
|\ | | | | BUG: Fix a MacOS build failure
| * Update gnu.pyFX Coudert2020-12-031-1/+1
| |
* | Merge pull request #17956 from charris/version-with-versioneerMatti Picus2020-12-091-0/+7
|\ \ | | | | | | ENH: Use versioneer to manage numpy versions.
| * | ENH: Use versioneer to manage numpy versions.Charles Harris2020-12-081-0/+7
| |/ | | | | | | | | | | | | | | | | | | | | | | The new tags look like '1.21.0.dev0+98.gaa0453721f', where '98' is the number of commits since the 1.21.0 branch was started and 'aa0453721f'. The chosen form may be specified in the 'setup.cfg' file. This PR adds two new files 'numpy/_version.py' and 'numpy/version.py'. The latter is kept because it is part of the public API and is actually used by some downstream projects, but it is no longer dynamically created. See https://github.com/python-versioneer/python-versioneer/ for more information.
* | Merge pull request #17789 from seiko2plus/npyv_new_intrinsic_pk0Matti Picus2020-12-092-1/+37
|\ \ | | | | | | ENH, SIMD: Add new NPYV intrinsics pack(0)
| * | BLD, SIMD: Add check for inline ASM VSX supportSayed Adel2020-11-172-1/+37
| | |
* | | BUG: Removed empty String from Nag Compiler's FlagsChristos Efstathiou2020-12-071-1/+1
| |/ |/|
* | ENH: add support for fujitsu compiler to numpy. (#17792)Tomoki, Karatsu2020-12-032-1/+47
| |
* | Merge pull request #17655 from pitmanst/zos.buildRalf Gommers2020-11-261-0/+7
|\ \ | | | | | | BLD: Fix installing Numpy on z/OS
| * | BLD: Fix installing Numpy on z/OSSteven Pitman2020-10-271-0/+7
| | |
* | | Merge pull request #17743 from isuruf/cblas_winMatti Picus2020-11-151-0/+15
|\ \ \ | |_|/ |/| | BLD, BUG: Fix cblas detection on windows
| * | Fix cblas detection on windowsIsuru Fernando2020-11-091-0/+15
| | |
* | | BLD: compare platform.architecture() correctlyxoviat2020-11-101-1/+1
|/ / | | | | | | | | The function returns a tuple of values, of which we need to check the first. Fixes #17489.
* | BLD: Use importlib to find numpy root directory in distutilsDustin Spicuzza2020-11-071-3/+3
| | | | | | | | Part of changes for #17620 to prevent importing numpy during builds to support cross compilation.
* | BUG: Fixed an issue where `.pyi` weren't picked up by numpy sub-packagesBas van Beek2020-11-031-0/+1
| |
* | Merge pull request #16782 from seiko2plus/implement_npyv_pymodMatti Picus2020-10-293-6/+21
|\ \ | |/ |/| ENH, TST: Bring the NumPy C SIMD vectorization interface "NPYV" to Python
| * BUG, BLD: fix multi-target name in `CCompilerOpt`'s reportSayed Adel2020-10-271-4/+3
| |
| * MAINT, TST: Serveral imporvments to _SIMD moduleSayed Adel2020-10-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - use plain variables - clean up aligned allocate - use `PyArg_ParseTuple` for empty args - use `Py_ssize_t` instead of `unsigned` and `size_t` - improve coding style - no need for a custom raises assertions - use parametrize instead of inner loops - leave a comment about nature of mode testing unit - shift to get max/min of int72 - add more info to repr of vector object - get ride of exec() and use type() instead - use `.inc` as extension for sub-headers instead of `.h` - add `FMA4` and drop `SSE41` from _SIMD targets Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
| * ENH: Expose the NumPy C SIMD vectorization interface "NPYV" to PythonSayed Adel2020-10-272-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '_simd' is a new module to bring the NumPy C SIMD vectorization interface "NPYV" The module is designed to be extremely flexible so that it can accommodate any kind intrinsics, also to generate a python interface almost similar to the C interface. The main purpose of this module is to test NPYV intrinsics in python, but still can be used as an effective solution in designing SIMD kernels. Also add a new command-line argument `--simd-test` to control of targeted CPU features for the `_simd` module. Co-authored-by: Matti Picus <matti.picus@gmail.com> Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
* | MAINT: valid doctest for config_py function show() (#17621)Hassan Kibirige2020-10-261-0/+1
|/ | | | | | numpy.distutils generates a function `__config__.show`. This change makes the docstring of that function complete (with the required imports) and runnable. This prevents numpy.distutils from adding doctests that will fail -- if picked-up by the test runner.
* Merge pull request #17546 from seiko2plus/issue_17321Matti Picus2020-10-152-65/+61
|\ | | | | MAINT: explicit disabling `CCompilerOpt` in F2PY
| * MAINT: Explicit disabling `CCompilerOpt` in F2PYSayed Adel2020-10-132-65/+61
| | | | | | | | This patch also cleans up `CCompilerOpt` calls in build_ext and build_clib.
* | BLD: add new check_compiler_gcc and check_gcc_version_at_least configureE. Madison Bray2020-10-132-8/+39
|/ | | | | | | commands replaces obsolete (no longer used anywhere AFICT check_compiler_gcc4 with some more general utilities for checking GCC version
* Merge pull request #17344 from danbeibei/masterCharles Harris2020-10-092-1/+56
|\ | | | | ENH: Support for the NVIDIA HPC SDK nvfortran compiler
| * BUG: Fix indentation.Charles Harris2020-10-091-6/+6
| |
| * Update numpy/distutils/fcompiler/nv.pydanbeibei2020-10-021-5/+8
| | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
| * ENH: Add comments about Nvidia HPC SDK and PGIDaniel Vanzo2020-09-221-0/+4
| |
| * ENH: Add support for the NVIDIA HPC SDK fortran compilerDaniel Vanzo2020-09-222-1/+49
| |
* | TST: Expanded the `_parse_env_order` testsBas van Beek2020-09-181-1/+7
| | | | | | | | | | | | Relevant for when LAPACK/BLAS optimization is disabled. Addresses https://github.com/numpy/numpy/pull/17346#issuecomment-694744389.
* | BLD: Fix a macOS build failure when `NPY_BLAS_ORDER=""`Bas van Beek2020-09-181-0/+6
| |
* | BLD: enabled negation of library choices in NPY_*_ORDER (#17219)Nick R. Papior2020-09-172-34/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BLD: enabled negation of library choices in NPY_*_ORDER When users build for a particular order it may be beneficial to disallow certain libraries. In particular a user may not care about which accelerated BLAS library is used, so long as the NetLIB or ATLAS library isn't used. This is now possible with: NPY_BLAS_ORDER='^blas,atlas' or NPY_BLAS_ORDER='!blas,atlas' Since we may envision more BLAS/LAPACK libraries to the pool, this will provide greater flexibility as they enter. A new (local) method is added in system_info.py which removes duplicate code and allows for easier usage across libraries.
* | Merge pull request #17250 from albertvillanova/fix-docstringCharles Harris2020-09-101-1/+1
|\ \ | | | | | | DOC: Fix docstring cross-referencing
| * | Fix docstring cross-referencingAlbert Villanova del Moral2020-09-041-1/+1
| | |
* | | Merge pull request #17129 from seiko2plus/distutils_avx512bw_maskMatti Picus2020-09-104-32/+170
|\ \ \ | | | | | | | | BLD: Check for reduce intrinsics and AVX512BW mask operations
| * | | DIST: fix minor grammar errors in CCompilerOpt docstring(extra_checks)Sayed Adel2020-09-031-7/+7
| | | | | | | | | | | | Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
| * | | TST: remove unnecessary backslashes from CCompilerOpt config testSayed Adel2020-08-261-24/+12
| | | | | | | | | | | | | | | | | | | | | | | | Also fix assertion error msg of group/extra_checks Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
| * | | BLD: Check for reduce intrinsics and AVX512BW mask operationsSayed Adel2020-08-264-12/+162
| |/ / | | | | | | | | | | | | | | | | | | | | | - Extending Distutils::CompilerOpt to allow adding extra separate test cases related to a certain CPU feature without affecting its availability. - Add test cases for reduce intrinsics and AVX512BW mask operations, they can be reached through C #defentions NPY_HAVE_AVX512BW_MASK and NPY_HAVE_AVX512F_REDUCE.
* | | BUG: sysconfig attributes/distutils issueTyler Reddy2020-09-071-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gh-17223 started the `distutils` modernization process because of the various upstream stuff going on (thanks) * that set of changes caused build issues with NumPy pre-release wheels + SciPy `master`: https://travis-ci.org/github/scipy/scipy/builds/725002838 * I was able to patch two separate issues and confirm that this feature branch restores the SciPy build locally: 1) in one case, `distutils.sysconfig.get_python_inc` was replaced with `distutils.get_python_inc`, which does not exist (probably a typo) 2) a bit more serious; even `sysconfig.get_python_inc` does not appear to exist; the closest match I could find (and that worked) was `sysconfig.get_path()` with options for general and platform-specific header paths as needed * I'm not claiming that these stdlib replacements are perfect either (the prefix case may still be slightly different?), but it does prevent the SciPy build break originally introduced as a start
* | | Merge pull request #17104 from BvB93/sub-modulesCharles Harris2020-09-071-0/+4
|\ \ \ | | | | | | | | ENH: Add placeholder stubs for all sub-modules
| * | | ENH: Added placeholder stubs for `distutils` and `f2py`Bas van Beek2020-08-201-0/+4
| |/ /
* | | Merge pull request #17223 from mattip/setuptools1Charles Harris2020-09-043-9/+11
|\ \ \ | | | | | | | | MAINT: use sysconfig not distutils.sysconfig where possible
| * | | MAINT: EXT_SUFFIX differs between sysconfig and distutils.sysconfigMatti Picus2020-09-041-2/+2
| | | |
| * | | MAINT: fix win exec_prefixmattip2020-09-031-1/+1
| | | |
| * | | MAINT: use sysconfig not distutils.sysconfig where possiblemattip2020-09-024-11/+13
| |/ /
* | | MAINT: Remove users of `numpy.compat.open_latin1`Eric Wieser2020-08-311-32/+27
|/ / | | | | | | | | Some more Python 2 cleanup. Also switches to use with statements, as previous passes looking for bare `open()` calls would have missed these
* | MAINT: Remove _EXTRAFLAGS variable (#17050)jakobjakobson132020-08-121-10/+3
| | | | | | Delete unused _EXTRAFLAGS variable throughout file
* | MAINT: Replace lambda function by list comprehension (gh-17055)jakobjakobson132020-08-111-2/+1
| | | | | | | | | | See #17012 item 15 Co-authored-by: Jakob <jakobjakobson13@posteo.de>
* | MAINT: change "for line in open()" to "with open() as f: ..." in ↵jakobjakobson132020-08-111-9/+10
| | | | | | | | | | | | | | numpy/distutils/misc_util.py (gh-#17051) see #17012 item 13 Co-authored-by: Jakob <jakobjakobson13@posteo.de>