| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
MAINT: remove redundant open() modes and io.open() alias
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
|
| |
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>
|
| |
|
| |
|
|
|
|
|
|
| |
The output analyzed by this function unexpectedly ended up in stderr.
Closes #21942
|
| |
|
|
|
|
|
| |
Especially needed for compiling scipy on Windows. On Linux and Mac,
fortran preprocessing is already enabled.
|
|\
| |
| | |
ENH: Add ARM Compiler with ARM Performance Library support
|
| | |
|
| |
| |
| | |
Added `-fPIC` due to relocation errors.
|
| | |
|
|/
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This reverts commit 1ac3cbea412c7d9ff467a8e599609621887c6cdd
and replaces #19992 with documented nagfor option -unsharedrts, not
-unsharedf95, as pointed out by ThemosTsikas
|
| |
|
|
|
| |
as requested by @rgommers
|
|
|
|
|
| |
On Darwin, `nagfor` needs the same linker flags as `nag`.
This hopefully completes #19968.
|
| |
|
|
|
| |
A modern Fortran compiler nagfor from NAG is available on Darwin, as well as on Linux, since at least version 7.0
|
|
|
|
|
| |
Unreachable code
Unreachable statement.
|
| |
|
| |
|
|
|
|
| |
Cygwin inherits Windows's lack of RPATH.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Fixes https://github.com/scipy/scipy/issues/11339
**What does this implement/fix?**
NumPy/SciPy compiled with Intel Fortran compiler using default flags treats both -0.0 and +0.0 as 0.0, however it is not IEEE 754 compliant and some SciPy logic relies on this -0.0 and +0.0 differentiation.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added chain exception in _bits_of func
* Added chain exception
* Added chain exception in unixccompiler.py
* Added chain exception in config.py
* Added chain exception in fcompiler __init__.py
* Added chain exception in compaq.py
* Added chain exception in format.py
* Updated raise chain exception
* STY: Break long line.
Co-authored-by: Charles Harris <charlesr.harris@gmail.com>
|
|
|
| |
Fix a simple mistake in commit da0497fdf35 which can produce a NameError when installing numpy in MinGW/MSYS2.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|\
| |
| | |
BUG: Fix a MacOS build failure
|
| | |
|
|/ |
|
| |
|
|\
| |
| | |
ENH: Support for the NVIDIA HPC SDK nvfortran compiler
|
| | |
|
| |
| |
| | |
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
| | |
|
| | |
|
|\ \
| | |
| | | |
MAINT: use sysconfig not distutils.sysconfig where possible
|
| | | |
|
|/ /
| |
| |
| |
| | |
Some more Python 2 cleanup.
Also switches to use with statements, as previous passes looking for bare `open()` calls would have missed these
|
| |
| |
| | |
Delete unused _EXTRAFLAGS variable throughout file
|
| |
| |
| |
| |
| |
| | |
Fixup exception chaining and more detailed exception message
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
|
|/
|
|
| |
Issue #16481
|
|
|
|
|
|
|
|
|
| |
* ENH: Add RPATH support for AIX
* ENH: Rewrite function returning RPATH
* MAINT: Use f-strings for clarity.
Co-authored-by: Charles Harris <charlesr.harris@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The comparison of GCC major version used a string
comparison, which is known to break when comparing
single vs. double version numbers. This fix
compares the integer of the major GCC version.
Before this fix, GCC/Gfortran 10 would get inappropriate
flag "-mno-cygwin" applied, which was removed in GCC 4
and makes GCC error out.
|