summaryrefslogtreecommitdiff
path: root/numpy/distutils
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add space after argument nameOscar Gustafsson2022-04-032-18/+18
|/
* Merge pull request #20991 from r-devulap/exp-log-svmlMatti Picus2022-03-231-1/+1
|\ | | | | ENH: Use SVML for f64 exp and log
| * BUILD: Disable MMX registers when building with -mavx512fRaghuveer Devulapalli2022-02-281-1/+1
| | | | | | | | | | | | Work around for a bug in gcc compiler. When using several kmask variables __mmask16/__mmask8, the compiler sometimes uses %mmx registers to save them on to the stack which corrupts the x87 stack.
* | road-to-cxx: x86-qsort.dispatch.c.src -> x86-qsort.dispatch.cppserge-sans-paille2022-02-211-0/+2
| | | | | | | | | | | | | | Actual c++ification. Also fix a slight bug in numpy/distutils/ccompiler_opt.py when intermediate directory is missing.
* | MAINT: point to html docs on distutils migration in deprecation messageRalf Gommers2022-02-181-1/+2
| | | | | | | | [skip azp]
* | MAINT: fix failure due to importing warnings in `distutils/__init__.py`Ralf Gommers2022-02-161-0/+1
| |
* | DEP: deprecate `numpy.distutils`, and add a migration guideRalf Gommers2022-02-151-0/+11
| |
* | BUG: use ThreadPoolExecutor instead of ThreadPoolGalaxySnail2022-02-101-4/+3
|/ | | | | | | Use `concurrent.futures.ThreadPoolExecutor` in distutils instead of `multiprocessing.pool.ThreadPool`. Fix #21026
* DOC: improper doc syntax (markdown and imbalanced ticks). (#20944)Matthias Bussonnier2022-01-301-1/+1
| | | | | | | | | | | | | | | | | | Here are two modifications: The first one is the inclusion of markdown fence blocks in the middle of RST. While this is not really a problem for current documentation as this is a private function, it still makes other RST parser choke on this. In particular this is seen as a tile as it is a text line followed by a line of only backticks, and that makes my new project to show better docstrings in Jupyter fails. I can locally exclude this function, but while not fix it to show good examples ? Second, while grepping for triple backticks I found that there are a stray one in another place.
* Fix build_ext interaction with non numpy extensionsserge-sans-paille2022-01-281-2/+2
| | | | | | | | Numpy extensions define the extra_cxx_compile_args and extra_c_compile_args filed, but distutils extensions don't. Take that into account when populating build_extension. Should fix #20928
* BUG: distutils: fix building mixed C/Fortran extensionsRalf Gommers2022-01-241-7/+23
| | | | | | | | | | | | In SciPy we had a couple of cases where we build a Python extension with C source files but linked against static libraries built from Fortran code. Those should be using the Fortran linker, but this was broken in 1.22.0 by gh-19713 (the PR that introduced C++ in NumPy). This fixes a few issues in the `build_ext` command, and documents better what is going on there. Should close SciPy issues 8325 and 15414.
* TST: Add CPU dispatch/baseline tests for VSX4Rafael Cardoso Fernandes Sousa2022-01-172-7/+7
|
* STY: Fix linter issueRafael Cardoso Fernandes Sousa2022-01-141-1/+2
|
* ENH: Add CPU feature detection for VSX4 (Power10)Rafael Cardoso Fernandes Sousa2022-01-134-1/+42
|
* MAINT, DOC: fix new typos detected by codespellDimitri Papadopoulos2022-01-121-1/+1
|
* Merge pull request #20416 from ARCCA/armcompilerMatti Picus2021-12-245-5/+163
|\ | | | | ENH: Add ARM Compiler with ARM Performance Library support
| * Update armccompiler.pyThomas Green2021-12-141-3/+3
| | | | | | Remove `-mcpu=native` since it should be decided by the configuration.
| * Merge branch 'numpy:main' into armcompilerThomas Green2021-12-083-13/+22
| |\
| * | Update __init__.pyThomas Green2021-12-021-2/+3
| | |
| * | Update armccompiler.pyThomas Green2021-12-021-7/+12
| | |
| * | Update system_info.pyThomas Green2021-12-021-6/+5
| | |
| * | Add armpl as blas/lapack providerThomas Green2021-11-161-3/+57
| | | | | | | | | Add support for ARMPL - requires ARMPL_DIR set - product page https://www.arm.com/products/development-tools/server-and-hpc/allinea-studio/performance-libraries
| * | Create arm.pyThomas Green2021-11-161-0/+73
| | | | | | | | | Added `-fPIC` due to relocation errors.
| * | Update __init__.pyThomas Green2021-11-161-1/+1
| | |
| * | Update ccompiler.pyThomas Green2021-11-161-0/+3
| | | | | | | | | Added ARM compiler.
| * | Create armccompiler.pyThomas Green2021-11-161-0/+23
| | | | | | | | | | | | | | | From https://gitlab.com/arm-hpc/packages/-/wikis/packages/numpy Added `-fPIC` due to relocation errors when building shared library from static library such as quadmath.
* | | BUG: Support env argument in CCompiler.spawnIsuru Fernando2021-12-221-3/+5
| | |
* | | BUG, DIST: fix normalize IBMZ features flagsSayed Adel2021-12-152-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The normal behavior is to erase any flag that starts with `-m[a-z0-9\-\.]` when flag `-march` or `-mcpu` specified. for example: cc_normalize_flags([ '-msse', '-msse2', '-msse3', '-mssse3', '-march=core-avx2' ]) should be normalized to: ['-march=core-avx2'] but in the case of `s390x`, on GCC flag `-march=arch[0-9]` doesn't implies flag `-mzvector` which is required to enable zvector api. for example: cc_normalize_flags([ '-mzvector', '-march=arch11', '-march=arch12', '-march=arch13'] ) should be normalized to: ['-mzvector', '-march=arch13'] instead of: ['-march=arch13']
* | | TST: expend ccompiler tests to cover s390x featuresSayed Adel2021-12-141-30/+45
| | |
* | | comment removedPradipta Ghosh2021-12-141-1/+1
| | |
* | | addressed review commentsPradipta Ghosh2021-12-144-36/+42
| | |
* | | Fix lint issuesPradipta Ghosh2021-12-142-8/+9
| | |
* | | Extending CPU feature detection framework to support IBM Z SIMDPradipta Ghosh2021-12-146-3/+86
| |/ |/| | | | | | | | | | | | | | | | | We would like to extend CPU feature detection infrastructure for IBM Z CPU features. Eventually It will help to add and enable Z specific SIMD builtins and instructions. As part of the PR, we have extended ccompiler_opt.py, npy_cpu_features.c.src, npy_cpu_features.h, other files for Z CPU feature detection and added test files for VX/VXE/VXE2 in distutils/checks.
* | ENH: provide a convenience function to replace npy_load_module (#20395)Matti Picus2021-11-192-10/+19
| | | | | | | | | | | | | | `load_module` is deprecated since python 3.4 and will be removed in python 3.12. Use `exec_module` instead. Provide a convenience function in `distutils.misc_utils` instead of `npy_load_module` from `compat.py3k`.
* | BLD: Fix Macos Builds [wheel build]Thomas Li2021-11-171-1/+1
| |
* | Update cpu_asimdfhm.cThomas Green2021-11-161-2/+2
|/ | | | | | | Updated `vfmlal_low_u32` and `vfmlslq_high_u32` to their `f16` new names. Described here: https://www.mail-archive.com/gcc-bugs@gcc.gnu.org/msg664008.html Many of the intrinsics had names updated. Supposedly previous specifications were not published so old names not required.
* Merge pull request #20353 from seiko2plus/issue_20335Ralf Gommers2021-11-142-4/+10
|\ | | | | BUG, DIST: Print os error message when the executable not exist
| * BUG, DIST: Print os error message when the executable not existSayed Adel2021-11-142-4/+10
| | | | | | | | | | | | this patch is really important since most of the users aren't able to determine the build error when the toolchain or the built environment missing executable files of compiler, linker, assembler, etc.
* | ENH: add log level as prefixes to respective messagesMatthew2021-11-122-0/+54
| |
* | Merge pull request #20344 from serge-sans-paille/feature/remove-unusued-cxxflagRalf Gommers2021-11-121-5/+0
|\ \ | | | | | | BLD: do not position 'cxx=-std=c++11' as a default compiler flag
| * | Do not position 'cxx=-std=c++11' as a default compiler flagserge-sans-paille2021-11-101-5/+0
| |/ | | | | | | | | | | | | Otherwise it gets used for C source too, which is either useless or invalid (for clang(family compiler) Fix #20335
* | Merge pull request #20116 from marcan/fix-ccompilerRalf Gommers2021-11-121-6/+7
|\ \ | |/ |/| MAINT: Fix issue with C compiler args containing spaces
| * MAINT: Fix issue with C compiler args containing spacesHector Martin2021-10-141-6/+7
| | | | | | | | | | Instead of doing a dumb string split, use shlex to make sure args containing spaces are handled properly.
* | DEP: remove code for supporting GCC <4 in Mingw32CCompilerChristoph Reiter2021-11-091-69/+12
| | | | | | | | | | | | | | The last GCC 3.x release before 4.0 was 3.4 which was released 2004, so 17 years ago. Removes all code only used with those old toolchains.
* | Merge pull request #20172 from matthew-brett/fix-gl-compiler-flagMatti Picus2021-10-261-3/+31
|\ \ | | | | | | Allow clib callable build flags
| * | Allow clib callable build flagsMatthew Brett2021-10-231-3/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At the moment, we are guessing whether we have the MSVC compiler, by looking at what Python was originally compiled for. That works only if we are using the same compiler, but this is not the case when we compile with e.g. mingw-w64 using Python.org Python. Unfortunately, at the time we are specifying build flags, we don't know what compiler we are using. Allow build flags to clib to be callables that return lists of strings, instead of strings, where the callables can do work like inspecting the compiler, at build time. Use this to check for MSVC at build time, when specifying the `/GL-` flag. See gh-9977 for a related discussion about these flags.
* | | BUG: Don't pass /arch:SSE2 to MSVC when targeting x64 (#20190)Tom Tan2021-10-252-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Don't pass /arch:SSE2 to MSVC link targeting x64 * Fix test * Fix format * Fix one more test
* | | TST: xfail `test_overrides` when numpy is build with MKL supportBas van Beek2021-10-231-0/+4
|/ /
* | Merge pull request #20071 from alessiamarcolini/refactorCharles Harris2021-10-221-3/+10
|\ \ | | | | | | MAINT: Remove unused imports and remove duplicated tests
| * | MAINT: separate multiple imports in multiple linesAlessia Marcolini2021-10-081-2/+10
| | |