| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/ |
|
|\
| |
| | |
ENH: Use SVML for f64 exp and log
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| | |
Actual c++ification.
Also fix a slight bug in numpy/distutils/ccompiler_opt.py when intermediate
directory is missing.
|
| |
| |
| |
| | |
[skip azp]
|
| | |
|
| | |
|
|/
|
|
|
|
|
| |
Use `concurrent.futures.ThreadPoolExecutor` in distutils
instead of `multiprocessing.pool.ThreadPool`.
Fix #21026
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
ENH: Add ARM Compiler with ARM Performance Library support
|
| |
| |
| | |
Remove `-mcpu=native` since it should be decided by the configuration.
|
| |\ |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | | |
Add support for ARMPL - requires ARMPL_DIR set - product page https://www.arm.com/products/development-tools/server-and-hpc/allinea-studio/performance-libraries
|
| | |
| | |
| | | |
Added `-fPIC` due to relocation errors.
|
| | | |
|
| | |
| | |
| | | |
Added ARM compiler.
|
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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']
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| | |
`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`.
|
| | |
|
|/
|
|
|
|
|
| |
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.
|
|\
| |
| | |
BUG, DIST: Print os error message when the executable not exist
|
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
|\ \
| | |
| | | |
BLD: do not position 'cxx=-std=c++11' as a default compiler flag
|
| |/
| |
| |
| |
| |
| |
| | |
Otherwise it gets used for C source too, which is either useless or invalid (for
clang(family compiler)
Fix #20335
|
|\ \
| |/
|/| |
MAINT: Fix issue with C compiler args containing spaces
|
| |
| |
| |
| |
| | |
Instead of doing a dumb string split, use shlex to make sure args
containing spaces are handled properly.
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
Allow clib callable build flags
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Don't pass /arch:SSE2 to MSVC link targeting x64
* Fix test
* Fix format
* Fix one more test
|
|/ / |
|
|\ \
| | |
| | | |
MAINT: Remove unused imports and remove duplicated tests
|
| | | |
|