summaryrefslogtreecommitdiff
path: root/numpy/distutils/fcompiler
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Merge pull request #15401 from eric-wieser/fix-distutils-quotingRalf Gommers2020-05-041-4/+4
|\ | | | | BUG: Flags should not contain spaces
| * BUG: Flags should not contain spacesEric Wieser2020-01-231-4/+4
| | | | | | | | | | | | It's very unlikely that `ifort` is supposed to be invoked as `ifort "-fpmodel strict"` instead of `ifort -fpmodel strict` . Spaces in flag items will end up passed as a single argument.
* | ENH: update default MACOSX_DEPLOYMENT_TARGET to 10.9 (from review)mattip2020-04-081-4/+3
| |
* | ENH: use sysconfig instead of probing Makefilemattip2020-04-071-16/+8
| |
* | MAINT: cleanup unused imports; avoid redefinition of importsMike Taves2020-02-064-4/+1
| | | | | | | | | | | | | | * Cleanup unused imports (F401) of mostly standard Python modules, or some internal but unlikely referenced modules * Where internal imports are potentially used, mark with noqa * Avoid redefinition of imports (F811)
* | MAINT: Remove sys.version checks (gh-#15373)Seth Troisi2020-01-281-60/+48
|/ | | More sys.version cleanup.
* [MAINT] Cleanup python2 sys.version checksSeth Troisi2020-01-201-2/+1
|
* Merge pull request #15248 from eric-wieser/avoid-exc_infoCharles Harris2020-01-053-17/+10
|\ | | | | MAINT: cleanup use of sys.exc_info
| * MAINT: cleanup use of sys.exc_infoEric Wieser2020-01-053-17/+10
| | | | | | | | | | | | This code originates from python 2.6, before there was an `as` clause in `except`. This removes all callers of `numpy.distutils.compat.get_exception`.
* | MAINT: Remove implicit inheritance from object class (#15236)Jon Dufresne2020-01-051-1/+1
| | | | | | | | | | | | | | Inheriting from object was necessary for Python 2 compatibility to use new-style classes. In Python 3, this is unnecessary as there are no old-style classes. Dropping the object is more idiomatic Python.
* | MAINT: Remove unnecessary 'from __future__ import ...' statementsJon Dufresne2020-01-0317-34/+0
|/ | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior.
* BLD: MAINT: change default behavior of build flag appending.Ralf Gommers2019-08-201-8/+4
| | | | | | This is a follow-up to gh-7427. This can lead to hard to understand build failures, and we've warned that this change was coming for two releases.
* Fixing failure on Python 2.7 on Windows 7Oleksandr Pavlyk2019-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | When executing pytest --pyargs numpy.distuils.tests.test_fcompiler test_fcompiler_flags fails with ``` > raise e E ValueError: [u'path', u'include', u'lib'] lib\site-packages\numpy\distutils\fcompiler\compaq.py:100: ValueError ---------------------------- Captured stdout call ----------------------------- Unexpected ValueError in C:\TCAgent1\work\7cc6992266387eba\distribution\lib\site -packages\numpy\distutils\fcompiler\compaq.py ``` It appears that the list argument of ValueError contains 'path' not at the end of the list like the current test expects, but at the beginning. After this fix, 9 test failures of `pytest --pyargs numpy.distutils` go away.
* MAINT: Misc. typo fixes (#13664)luzpaz2019-05-311-2/+2
| | | | | | * DOC, MAINT: Misc. typo fixes Found via `codespell`
* MAINT: fix typo in 'self'Eric Wieser2019-04-111-1/+1
|
* Update environment.pyYu Feng2019-03-021-1/+2
|
* Update numpy/distutils/fcompiler/environment.pyEric Wieser2019-03-021-1/+1
| | | Co-Authored-By: rainwoodman <rainwoodman@gmail.com>
* Changes suggested by eric-wieserYu Feng2019-03-021-8/+7
|
* Convert fortran flags from environment variableYu Feng2019-03-021-2/+6
| | | This PR fixes #13074.
* MAINT: Use with statements for opening files in distutilsEric Wieser2019-03-011-9/+8
| | | | | | Not super important, but saves some lines. Only the low-hanging ones here. Found while tracking down an unrelated ResourceWarning
* BUG: Fix regression in parsing of F90 and F77 environment variablesEric Wieser2019-02-241-4/+4
| | | | | | Fixes gh-12979 Among other things, this means setting the `F90` environment variable to `"path to/f90" --coverage` works again.
* Merge pull request #12892 from eric-wieser/distutils-debugCharles Harris2019-01-315-5/+11
|\ | | | | BUG: Do not double-quote arguments passed on to the linker
| * BUG: Do not double-quote arguments passed on to the linkerEric Wieser2019-01-305-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | After the recent patch to CCompiler.spawn, the file-paths no longer need manual quoting - that's handled as needed within subprocess. This also states our assumption that our paths do not contain commas. If we care about this, we could adopt the approach used by https://github.com/rust-lang/rust/issues/38795. Tested for gcc locally by looking at the error messages of `subprocess.check_call(["gcc", r'-Wl,spaces and no quotes'])` Other fortran compiler changes not tested, but assumed to be broken in the same way. Fixes #12882
* | BUG: fix to check before apply `shlex.split`OBATA Akio2019-01-221-5/+5
| | | | | | | | | | | | | | `shlex.split` will try to read stdin if `None` is passed, so change to check before apply it. see #12823
* | Merge pull request #12631 from acastanedam/f2py_pgiCharles Harris2019-01-191-1/+5
|\ \ | | | | | | BUG: fix f2py problem to build wrappers using PGI's Fortran
| * | BUG: fix f2py problem to build wrappers using PGI's FortranArcesio Castaneda Medina2018-12-301-1/+5
| | |
* | | MAINT: add warning to numpy.distutils for LDFLAGS append behavior.Ralf Gommers2018-12-271-2/+13
|/ / | | | | | | See gh-7427
* | gfortran needs -lpthread & -maix64(64 build) in AIXAyappan P2018-11-191-0/+6
|/
* Merge pull request #11898 from tylerjereddy/rm_exec_command_2Charles Harris2018-11-141-5/+16
|\ | | | | MAINT: remove exec_command usage from ccompiler.py
| * MAINT: remove exec_command usage from ccompiler.pyTyler Reddy2018-10-311-5/+16
| | | | | | | | | | | | * replaced the usage of exec_command() in ccompiler distutils module with subprocess equivalent
* | MAINT: update gfortran RPATH for AIX/Windows non-support.Ralf Gommers2018-11-101-0/+4
|/ | | | Closes https://github.com/scipy/scipy/issues/9452