summaryrefslogtreecommitdiff
path: root/numpy/distutils
Commit message (Collapse)AuthorAgeFilesLines
* MAINT, BLD: Disable spr for clangCharles Harris2023-05-111-0/+4
| | | | | | | Clang has a bug and fails when compiling `simd_qsort_16bit.dispatch.avx512_spr.cpp` Closes #23730.
* Merge pull request #22493 from mwtoews/maint-openSebastian Berg2023-04-288-15/+15
|\ | | | | MAINT: remove redundant open() modes and io.open() alias
| * MAINT: remove redundant open() modes and io.open() aliasMike Taves2022-10-298-15/+15
| |
* | BUG, BLD: Fix indentation bug in distutilsCharles Harris2023-04-171-1/+1
| | | | | | | | | | | | | | This fixes a bug in distutils that prevented the use of the C++ linker needed to link _multiarray_umath. Fixes #23595
* | MAINT: Fix wrong date in comment.Charles Harris2023-04-101-1/+1
| |
* | BLD: remove -ftrapping-math on macosx_arm64Andrew Nelson2023-04-081-1/+8
| |
* | ENH: Raise C++ standard to C++17Sayed Adel2023-04-043-10/+3
| |
* | MAINT Fix broken links in absoft.pyChristian Veenhuis2023-03-241-2/+2
| |
* | MAINT: cleanup unused Python3.8-only code and referencesClément Robert2023-03-141-4/+1
| |
* | BLD: add SSL2 default path for Fujitsu C/C++ compilerKentaro Kawakami2023-03-091-1/+30
| |
* | Merge pull request #22982 from yamadafuyuka/add_fujitsuccompiler_and_SSL2Sebastian Berg2023-03-065-8/+93
|\ \ | | | | | | ENH: add support for fujitsu C/C++ compiler and SSL2 to numpy.
| * | ENH: add support for fujitsu C/C++ compiler and SSL2 to numpy.yamadafuyuka2023-03-025-8/+93
| | |
* | | Merge pull request #22051 from r-devulap/spr-supportMatti Picus2023-02-192-3/+35
|\ \ \ | |/ / |/| | BLD: Add compile and runtime checks for AVX512_SPR
| * | Remove unnecessary checksRaghuveer Devulapalli2023-02-062-35/+5
| | |
| * | BLD: Add compile and runtime checks for AVX512FP16Raghuveer Devulapalli2023-02-023-3/+65
| | |
* | | Fix typos found by copdespellDimitri Papadopoulos2023-02-111-2/+2
|/ /
* | BUG: fix broken numpy.distutils Fortran handlingRalf Gommers2023-01-222-4/+10
| | | | | | | | | | | | | | The `Path` and `COMMON_FIXED_EXTENSIONS` variables were not defined at all. This code is untested, and SciPy doesn't build with NumPy `main` before this fix. The issue was introduced a few days ago in gh-22885.
* | MAINT: `f2py` cleanup (#22885)Rohit Goswami2023-01-162-2/+4
| | | | | | | | | | | | | | Updates the free format handling of .f90 and other common extensions (through a minor re-write). Also removes an unused function. This disallows previously allowed (but highly unlikely to be present) code-paths, namely having fixed form F77 code in a fortran 90 file (with .f90). Co-authored-by: Sebastian Berg <sebastianb@nvidia.com>
* | MAINT: use pypy3.9 in testingmattip2023-01-081-5/+7
| |
* | ENH: Detect CPU features on FreeBSD/powerpc64*pkubaj2022-12-301-2/+6
| | | | | | | | | | | | | | | | | | | | 1. FreeBSD uses elf_aux_info() instead of getauxval. 2. Switch to using compiler macros for detecting POWER platform FreeBSD sets the machine name (what uname -m prints) on all powerpc* to just powerpc. To identify actual architecture, uname -p should be used, but this is not present in uname() function. Thus, the only way to correctly detect platform is to use what uname prints and also check compiler defines.
* | BLD: update OpenBLAS to 0.3.21 and clean up openblas download test (#22525)Matti Picus2022-11-171-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * BUILD: update OpenBLAS to 0.3.21 and clean up openblas download test * set LDFLAGS on windows64 like the openblaslib build does * use rtools compilers on windows when building wheels * fix typos * add rtools gfortran to PATH * use the openblas dll from the zip archive without rewrapping * typos * copy dll import library for 64-bit interfaces * revert many of the changes to azure-steps-windows.yaml, copy openblas better in wheels * fix wildcard copy * test OpenBLAS build worked with threadpoolctl * typos * install threadpoolctl where needed, use for loop to recursively copy * update macos OpenBLAS suffixes for newer gfortran hashes * use libgfortran5.dylib on macos * fix scripts * re-use gfortran install from MacPython/gfortran-install on macos * use pre-release version of delocate * fixes for wheel builds/tests * add debugging cruft for pypy+win, macos wheels * add DYLD_LIBRARY_PATH on macosx-x86_64 * use 32-bit openblas interfaces for ppc64le tests * skip large_archive test that sometimes segfaults on PyPy+windows
* | TST: Skip tests that are not currently supported in wasmHood Chatham2022-11-113-1/+9
|/
* Merge pull request #22483 from mwtoews/maint-subprocessSebastian Berg2022-10-284-7/+6
|\ | | | | MAINT: change subprocess arguments from Python>=3.7
| * MAINT: change subprocess arguments from Python>=3.7Mike Taves2022-10-274-7/+6
| |
* | STY: Make linter happySebastian Berg2022-10-271-1/+0
| | | | | | | | Not new things, but in touched lines...
* | TST: Try using setup_class for `_Test_CCompilerOpt`Sebastian Berg2022-10-271-2/+2
| |
* | TST,MAINT: Replace most `setup` with `setup_method` (also teardown)Sebastian Berg2022-10-273-5/+5
|/ | | | | | | | In some cases, the replacement is clearly not what is intended, in those (where setup was called explicitly), I mostly renamed `setup` to `_setup`. The `test_ccompile_opt` is a bit confusing, so left it right now (this will probably fail)
* DOC: remove reference to Python 2Dimitri Papadopoulos2022-10-181-3/+2
| | | | | | | Remove reference to Visual Studio version required by old versions of Python. Python >= 3.5 is built with Microsoft Visual C++ 14.0 / Visual Studio 2015: https://wiki.python.org/moin/WindowsCompilers
* MAINT: always use sys.base_prefix, never use sys.real_prefixDimitri Papadopoulos2022-10-131-4/+1
| | | | | | | | | | | `sys.base_prefix` was introduced in Python 3.3, so it will always be available in supported versions of Python >= 3.3: https://docs.python.org/3/library/sys.html#sys.base_prefix As a result, `sys.real_prefix` will never be used in supported versions of Python >= 3.3. Besides, it has been removed from recent versions of virtualenv: https://github.com/pypa/virtualenv/issues/1622
* DEV: supporting IBM i systemGavinZhang2022-08-143-3/+16
|
* remove unneeded future importsJake Bowhay2022-07-172-4/+0
|
* BUG: Use `Popen` to silently invoke f77 -vMichael Osthege2022-07-091-1/+7
| | | | | | The output analyzed by this function unexpectedly ended up in stderr. Closes #21942
* Fix lib flags for librandomMatthew Brett2022-06-291-0/+18
| | | | | Add the voltbl fix to librandom. Remove SSE flag for GCC on 32-bit Windows, it's the default.
* Fix a potential variable misuse bugJingxuan He2022-06-151-1/+1
|
* BUG, SIMD: Fix detecting NEON/ASIMD on aarch64Sayed Adel2022-06-141-1/+1
|
* fix upSayed Adel2022-06-091-1/+1
|
* BLD, SIMD: Fix detecting armhfSayed Adel2022-06-091-21/+46
| | | | | | Strictly detects armhf via compiler definitions, to avoid building neon objects on arch armel even when the compiler supports armv7 features on it.
* BLD, SIMD: Hardened the Neon/ASIMD compile-time testsSayed Adel2022-06-097-26/+38
| | | | | | Avoid passing any constants or traced pointers to avoid compiler optimizations, so we make the sure the required instructions have been tested against the linker.
* shorten linei-shenl2022-06-081-2/+2
|
* Enable fortran preprocessing on Windowsi-shenl2022-06-081-1/+2
| | | | | Especially needed for compiling scipy on Windows. On Linux and Mac, fortran preprocessing is already enabled.
* MAINT: Python <3.8 related cleanupsBrigitta Sipőcz2022-05-231-6/+1
|
* MAINT: Python <3.7 related cleanupsBrigitta Sipőcz2022-05-231-2/+1
|
* Questionable removal of python <3.6 related thingsBrigitta Sipocz2022-05-171-3/+0
|
* Remove python <3.6 related thingsBrigitta Sipocz2022-05-171-4/+1
|
* Merge pull request #21452 from seberg/cleanup-test-outputMatti Picus2022-05-061-1/+3
|\ | | | | TST: Remove most prints from the test suit run
| * TST: Remove most prints from the test suit runSebastian Berg2022-05-051-1/+3
| | | | | | | | | | | | | | | | Pytest silence these normally anyway (capturing it to print it only on failure), but occasionally I run with `-s` and I don't think this output adds anything unless using printing to debug a specific test. If nobody else cares about it nvm, just close it :). Otherwise this cleans up everything in the fast tests, except the f2py compilation right now.
* | BUG: Ensure compile errors are raised correcltySebastian Berg2022-05-051-1/+2
|/ | | | | | | | | | | This has been bugging me for a bit. The concurrent.futures Executor requires checking the result for the error to be raised. That makes sense, but just means we need to consume the result explicitly here to ensure we know about compile errors. Otherwise, compile errors just pass silently (which is very confusing if the old object files are still around and the tests run based on the old version).
* Fix issue probably-meant-fstring found at https://codereview.doctorcode-review-doctor2022-04-231-1/+1
|
* Merge pull request #21306 from serge-sans-paille/feature/syndicate-cxxflagsMatti Picus2022-04-081-0/+8
|\ | | | | Introduce numpy.core.setup_common.NPY_CXX_FLAGS
| * Introduce numpy.core.setup_common.NPY_CXX_FLAGSserge-sans-paille2022-04-081-0/+8
| | | | | | | | | | | | | | | | | | Group all C++ flags in one location. This avoids redundancy and makes sure we test the flags we use, and use the flags we test. Fix #21302