summaryrefslogtreecommitdiff
path: root/numpy/distutils/fcompiler
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #22493 from mwtoews/maint-openSebastian Berg2023-04-281-1/+1
|\ | | | | MAINT: remove redundant open() modes and io.open() alias
| * MAINT: remove redundant open() modes and io.open() aliasMike Taves2022-10-291-1/+1
| |
* | MAINT Fix broken links in absoft.pyChristian Veenhuis2023-03-241-2/+2
| |
* | BUG: fix broken numpy.distutils Fortran handlingRalf Gommers2023-01-221-2/+6
| | | | | | | | | | | | | | 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-161-1/+2
|/ | | | | | | 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>
* DEV: supporting IBM i systemGavinZhang2022-08-142-2/+8
|
* remove unneeded future importsJake Bowhay2022-07-171-2/+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
* 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.
* Merge pull request #20416 from ARCCA/armcompilerMatti Picus2021-12-242-2/+76
|\ | | | | ENH: Add ARM Compiler with ARM Performance Library support
| * Update __init__.pyThomas Green2021-12-021-2/+3
| |
| * Create arm.pyThomas Green2021-11-161-0/+73
| | | | | | Added `-fPIC` due to relocation errors.
| * Update __init__.pyThomas Green2021-11-161-1/+1
| |
* | Extending CPU feature detection framework to support IBM Z SIMDPradipta Ghosh2021-12-141-1/+1
|/ | | | | | | | | | 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.
* MAINT: correct linker flags for NAG Fortran compiler (#20010)Dima Pasechnik2021-10-011-3/+9
| | | | | This reverts commit 1ac3cbea412c7d9ff467a8e599609621887c6cdd and replaces #19992 with documented nagfor option -unsharedrts, not -unsharedf95, as pointed out by ThemosTsikas
* split the line to please the linterDima Pasechnik2021-09-281-1/+2
|
* fix spacingDima Pasechnik2021-09-281-0/+2
| | | as requested by @rgommers
* ENH: nagfor - get_flags_linker_so() on darwinDima Pasechnik2021-09-281-6/+2
| | | | | On Darwin, `nagfor` needs the same linker flags as `nag`. This hopefully completes #19968.
* split the long lineDima Pasechnik2021-09-271-1/+2
|
* ENH: nagfor from NAG is available on DarwinDima Pasechnik2021-09-271-1/+1
| | | A modern Fortran compiler nagfor from NAG is available on Darwin, as well as on Linux, since at least version 7.0
* MAINT: Fix LGTM.com warningDimitri Papadopoulos2021-09-241-1/+0
| | | | | Unreachable code Unreachable statement.
* DOC: Typos found by codespellDimitri Papadopoulos2021-09-211-1/+1
|
* MAINT: revise OSError aliases (IOError, EnvironmentError)Mike Taves2021-09-021-2/+2
|
* BLD: Tell fortran compiler Cygwin doesn't support rpath.DWesl2021-07-211-1/+1
| | | | Cygwin inherits Windows's lack of RPATH.
* MAINT: removed unused imports listed in LGTMdefault-3032021-05-241-2/+0
|
* STY: lint line lengthh61976272021-04-121-1/+2
|
* BLD: Negative zero handling with iforth61976272021-04-121-13/+2
| | | | | | | 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.
* Strip extra newline when dumping gfortran version on MacOSKamil Choudhury2021-03-301-1/+2
|
* MAINT: Added Chain exceptions where appropriate (#18394)Abhay Raghuvanshi2021-03-182-4/+4
| | | | | | | | | | | | | | | | | | | | | * 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>
* 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 detecting Fortran 90+ source format.Pearu Peterson2021-01-181-1/+1
|
* MAINT: regex char class improveTyler Reddy2020-12-282-5/+5
| | | | | | | | | | | | | * 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.
* 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
| |
* | 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 #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
| |
* | Merge pull request #17223 from mattip/setuptools1Charles Harris2020-09-041-1/+1
|\ \ | | | | | | MAINT: use sysconfig not distutils.sysconfig where possible
| * | MAINT: use sysconfig not distutils.sysconfig where possiblemattip2020-09-021-1/+1
| | |
* | | MAINT: Remove users of `numpy.compat.open_latin1`Eric Wieser2020-08-311-32/+27
|/ / | | | | | | | | Some more Python 2 cleanup. Also switches to use with statements, as previous passes looking for bare `open()` calls would have missed these
* | MAINT: Remove _EXTRAFLAGS variable (#17050)jakobjakobson132020-08-121-10/+3
| | | | | | Delete unused _EXTRAFLAGS variable throughout file
* | MAINT: Chain exception in ``distutils/fcompiler/environment.py``. (#16962)Noman Arshad2020-08-041-1/+4
| | | | | | | | | | | | 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>
* | ENH: Use f90 compiler specified in command line args for pgi compilers. ↵Daniel Vanzo2020-07-281-1/+1
|/ | | | Issue #16481
* BLD, ENH: Add RPATH support for AIX (#16710)EGuesnet2020-07-071-4/+9
| | | | | | | | | * 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>
* BUG: gcc >= 10: correctly compare major versionMichael Hirsch2020-06-021-1/+2
| | | | | | | | | | | 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.