summaryrefslogtreecommitdiff
path: root/numpy/distutils/fcompiler
Commit message (Collapse)AuthorAgeFilesLines
* 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
* MAINT: remove unused stdlib importsEmil Hessman2018-09-302-4/+0
|
* MAINT: remove exec_command usage in ibm.py (#11901)Tyler Reddy2018-09-151-4/+9
| | | | Replaced the usage of exec_command() in distutils ibm module with subprocess.check_output
* MAINT: remove exec_command from gnu.pyTyler Reddy2018-09-101-9/+22
| | | | | | * replaced usage of exec_command() with standard library equivalent in distutils gnu module
* Simplify logicIsuru Fernando2018-07-081-11/+2
|
* convert env variable flags and fix LDSHAREDIsuru Fernando2018-07-082-3/+7
|
* Move distutils.environment.py to distutils.fcompilerIsuru Fernando2018-07-072-1/+84
|
* Append *FLAGS instead of overridingIsuru Fernando2018-07-071-30/+30
|
* ENH: disutils: add the flang compilerxoviat2017-11-222-20/+102
| | | | | | Flang is the first CRT-compatbile compiler for windows. It's added for Python versions with a compatible ABI. Future work may include adding it for other platforms.
* MAINT: simplify logic from #9983Kristofor Maynard2017-11-121-8/+6
|
* Merge pull request #9977 from xoviat/squashedCharles Harris2017-11-0915-62/+32
|\ | | | | MAINT: distutils: trivial cleanups
| * MAINT: distutils: trivial cleanupsxoviat2017-11-0615-62/+32
| |
* | ENH: let f2py discover location of libgfortranKristofor Maynard2017-11-071-0/+27
|/
* ENH: Added compatability for the NAG Fortran compiler, nagforAndrew Lawson2017-10-192-10/+50
|
* BUG: adjust gfortran version search regexJonathan Helmus2017-09-201-1/+2
| | | | | | | Adjust the gfortran regex to require a '.' to be present in the version number. This avoids matching a hash or text containing a '-' such as the version string from the compilers produced by crosstool-NG. For example: GNU Fortran (crosstool-NG 8a21ab48) 7.2.0
* distutils: gnu: revert :art:xoviat2017-09-021-8/+8
|
* distutils: gnu: cleanupxoviat2017-09-021-3/+0
|
* distutils: gnu: revert :art:xoviat2017-09-021-13/+11
|
* distutils: gnu: hash files + chained dllsxoviat2017-09-021-1/+1
|
* distutils: handle unlinkable object files in build_clib/build_ext, not gnuPauli Virtanen2017-09-022-65/+118
| | | | | | | | | | | | | | | | | | | | | | Add concept of unlinkable Fortran object files on the level of build_clib/build_ext. Make build_clib generate fake static libs when unlinkable object files are present, postponing the actual linkage to build_ext. This enables MSVC+gfortran DLL chaining to only involve those DLLs that are actually necessary for each .pyd file, rather than linking everything in to every file. Linking everything to everywhere has issues due to potential symbol clashes and the fact that library build order is unspecified. Record shared_libs on disk instead of in system_info. This is necessary for partial builds -- it is not guaranteed the compiler is actually called for all of the DLL files. Remove magic from openblas msvc detection. That this worked previously relied on the side effect that the generated openblas DLL would be added to shared_libs, and then being linked to all generated outputs.
* distutils: gnu: patch fcompilexoviat2017-09-022-53/+157
| | | | | | | | | | This allows mingw's gfortran to work with MSVC. DLLs are autogenerated using heuristics that should work with most cases. In addition, a libopenblas DLL is compiled from the static lib for use with MSVC. All generated DLLs have randomized names so that no clashes will occur.
* MAINT: Remove unnecessary importsSrinivas Reddy Thatiparthy2017-08-261-4/+0
| | | | - Now that `set` datastructure has been added the `builtin` module, we do not need to explicitly import from `sets` module
* BLD: remove -xhost flag from IntelFCompiler. Closes gh-9042.Ralf Gommers2017-07-271-1/+1
| | | | | Note that this was discussed extensively in gh-7287, but removing this -xhost flag was missed in the PR that closed that issue.
* BUG: Fix Intel compilation on Unix.Charles Harris2017-06-261-2/+2
| | | | | | | | | | | Fixes two problems: * c compilers do not have a find_executables method. * get_version return a LooseVersion instance, not string. Closes #9278. [ci skip]
* MAINT: Update Intel compiler options.Charles Harris2017-04-191-2/+6
| | | | | | | | | The '-openmp' option was deprecated in Intel version 15 and removed in version 18. The replacement is '-qopenmp'. Closes #8941. [skip ci]
* DEP: Fix escaped string characters deprecated in Python 3.6.Charles Harris2016-12-145-7/+7
| | | | | | | In Python 3.6 a number of escape sequences that were previously accepted -- for instance "\(" that was translated to "\\(" -- are deprecated. To retain the previous behavior either raw strings must be used or the backslash must be properly escaped itself.
* BUG: distutils: fix issue with rpath in fcompiler/gnu.pyRalf Gommers2016-10-021-1/+3
| | | | | | ``-Wl,rpath=`` is Linux-specific, OS X needs a comma. This addresses gh-6486, which was already closed but not actually addressed.
* BUG: Fix fid.close() to use os.close(fid)Sebastian Berg2016-09-041-1/+1
| | | | | | | The error snuk in with some other file closing fixes and found by Warren Weckesser. Closes gh-8013
* ENH: Add stacklevel to all (or almost all) our function callsSebastian Berg2016-09-021-1/+1
|
* MAINT: Close some filehandlers and PIPEs after being doneSebastian Berg2016-09-021-0/+1
| | | | | The PIPE in the tests caused a ResourceWarning during testing in python 3.
* ENH: Support for python runtime with no Makefile, like PyPymattip2016-07-181-2/+7
|
* BLD: Remove Intel compiler flag -xSSE4.2Charles Harris2016-05-221-2/+2
| | | | | | | The consensus seems to be that hardcoding SSE4.2 results in poor code for architectures lacking the feature. Closes #7287.
* DOC: Fix more typos in docs and comments.Dongjoon Hyun2016-02-251-4/+4
|
* BUG: Fixed mingw.lib errorgfyoung2016-01-251-1/+1
| | | | Closes gh-647.