summaryrefslogtreecommitdiff
path: root/numpy/distutils
Commit message (Collapse)AuthorAgeFilesLines
* BUG: NameError in numpy.distutils.fcompiler.compaqMichael Lamparski2021-03-031-2/+2
| | | Fix a simple mistake in commit da0497fdf35 which can produce a NameError when installing numpy in MinGW/MSYS2.
* BUG: Fix non-versioneer usesEric Larson2021-02-251-1/+1
|
* MAINT: Remove dummy_threadingKevin Sheppard2021-02-112-8/+3
| | | | Threading is guaranteed to be supported in Python 3.7+
* MAINT: improve failure message when compiler is unavailablePearu Peterson2021-02-091-0/+2
|
* DEP: doc-deprecate BLAS_SRC/LAPACK_SRCRalf Gommers2021-02-061-0/+6
| | | | | | | | | | | | Building BLAS and LAPACK from sources in a NumPy build makes very little sense in 2021. Therefore remove the documentation for this from `site.cfg.example`, and doc-deprecate it in `distutils/system_info.py`. It's hard to properly deprecate and not worth doing, just de-emphasizing is enough. [ci skip]
* BUG: don't mutate list of fake libraries while iterating over it (#18295)Nicholas McKibben2021-02-042-2/+77
| | | | | | | | | | | | | | | | | * BUG: don't mutate list of fake libraries while iterating over it * BUG: iterate over copy of list * TST: add build test for build_ext fix (#1) * TST: add build test for build_ext fix * TST: clearer test name * STY: use triple quotes instead of lists of strings * FIX: check for f77 compiler before test is run * DOC: add comment explaining that a list copy is necessary
* Fixed exception cause in cov_template.pyAbhay Raghuvanshi2021-02-021-1/+1
|
* BUG: Fix detecting Fortran 90+ source format.Pearu Peterson2021-01-181-1/+1
|
* Merge pull request #18118 from seiko2plus/issue_18106Matti Picus2021-01-092-1/+17
|\ | | | | BUG, MAINT: improve avx512 mask logical operations
| * BLD: Add extra check for AVX512DQ mask conversionsSayed Adel2021-01-052-1/+17
| |
* | fix exception cause in mingw32ccompiler.pyPhanatosZou2021-01-031-1/+1
|/
* Merge pull request #18100 from seiko2plus/issue_18092Matti Picus2021-01-033-28/+48
|\ | | | | BUG, BLD: Generate the main dispatcher config header into the build dir
| * MAINT, BLD: few tweaks in the comments and log messageSayed Adel2021-01-031-4/+4
| | | | | | | | | | | | Co-authored-by: Matti Picus <matti.picus@gmail.com> Co-authored-by: h-vetinari <h.vetinari@gmx.com> Co-authored-by: Derek Homeier <dhomeie@gwdg.de>
| * BUG, BLD: Generate the main dispatcher config header into the build dirSayed Adel2021-01-033-26/+46
| | | | | | | | | | | | | | | | | | | | The new path becomes `build/src.*/numpy/distutils/include/npy_cpu_dispatch_config.h` instead of `numpy/core/src/common/_cpu_dispatch.h`. The new path allows other projects to re-use the CPU dispatcher once we decide to expose the following headers: - `numpy/core/src/common/npy_cpu_dispatch.h` - `numpy/core/src/common/npy_cpu_features.h`
* | TST: Avoid changing odd tempfile names in tests' site.cfgDWesl2021-01-011-2/+2
|/ | | | | | | | CI once produced a tempfile name with the string 'mkl' embedded. The old code changed this as well as the section name. This should ensure only section names get changed, and the restriction on the number of replacements should catch any weird corner cases, since I think the sections came first.
* MAINT: regex char class improveTyler Reddy2020-12-288-18/+18
| | | | | | | | | | | | | * replace superfluous single-character regex character classes with their literal string equivalents; this avoids the overhead associated with a character class when there's only a single character enclosed (so there's no benefit to the class overhead) * for more information see: Chapter 6 of: Friedl, Jeffrey. Mastering Regular Expressions. 3rd ed., O’Reilly Media, 2009.
* 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