summaryrefslogtreecommitdiff
path: root/numpy/distutils/fcompiler/intel.py
Commit message (Collapse)AuthorAgeFilesLines
* ENH: remove obsolete ifort flags, ensure generated binaries work everywhere.David Cournapeau2013-04-231-14/+5
|
* 2to3: Apply `print` fixer.Charles Harris2013-04-061-1/+1
| | | | | | | Add `print_function` to all `from __future__ import ...` statements and use the python3 print function syntax everywhere. Closes #3078.
* 2to3: Use absolute imports.Charles Harris2013-03-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new import `absolute_import` is added the `from __future__ import` statement and The 2to3 `import` fixer is run to make the imports compatible. There are several things that need to be dealt with to make this work. 1) Files meant to be run as scripts run in a different environment than files imported as part of a package, and so changes to those files need to be skipped. The affected script files are: * all setup.py files * numpy/core/code_generators/generate_umath.py * numpy/core/code_generators/generate_numpy_api.py * numpy/core/code_generators/generate_ufunc_api.py 2) Some imported modules are not available as they are created during the build process and consequently 2to3 is unable to handle them correctly. Files that import those modules need a bit of extra work. The affected files are: * core/__init__.py, * core/numeric.py, * core/_internal.py, * core/arrayprint.py, * core/fromnumeric.py, * numpy/__init__.py, * lib/npyio.py, * lib/function_base.py, * fft/fftpack.py, * random/__init__.py Closes #3172
* 2to3: Put `from __future__ import division in every python file.Charles Harris2013-03-011-0/+1
| | | | | | | | This should be harmless, as we already are division clean. However, placement of this import takes some care. In the future a script can be used to append new features without worry, at least until such time as it exceeds a single line. Having that ability will make it easier to deal with absolute imports and printing updates.
* MAINT: update Intel Fortran compiler flags for the 21st century.Ralf Gommers2012-09-091-55/+16
| | | | | | Thanks to Intel for this contribution. Note that there's also an MKL application note which recommends these flags: http://software.intel.com/en-us/articles/numpyscipy-with-intel-mkl
* BUG: '-framework Python' is not needed and can interfere.Robert Kern2012-05-311-1/+1
|
* BUG: numpy doesn't compile anymore with ifort using -O3, changing to -O1.Ralf Gommers2011-04-221-2/+2
| | | | Closes #1378. Thanks to Burkhard Neinhues and Christoph Gohlke.
* BUG: fix 64-bit Intel Fortran compiler detection. Closes #1448.rgommers2011-03-091-4/+4
|
* Apply ifort.patch from ticket #1372 to allow Intel Fortran Compiler 11.1 to ↵Travis Oliphant2010-01-241-3/+15
| | | | be called by numpy.distutils.
* 3K: distutils: remove unnecessary non-ascii characters in intel.pyPauli Virtanen2009-12-061-8/+0
|
* Fix print statements in fcompiler for python3.David Cournapeau2009-12-031-1/+1
|
* BUG: update version_match for recent version of ifort for IA-64 (#1145).David Cournapeau2009-06-201-1/+1
|
* Also link with Python.Robert Kern2007-12-161-1/+1
|
* Typo.Robert Kern2007-12-041-1/+1
|
* Use the correct link parameters for shared libraries with Intel Fortran on OS X.Robert Kern2007-12-041-0/+10
|
* The PIC flag changed in the 10 version of the Intel Fortran compiler.Robert Kern2007-12-041-10/+8
|
* * Allow an Intel Fortran 10.0 for 64-bit version string that I've seen in ↵Robert Kern2007-08-031-1/+9
| | | | | | the wild. * Use -fPIC instead of -KPIC for said wild compiler.
* Add support for aliases for Fortran compilers.cookedm2007-07-061-0/+3
| | | | - 'g77' for gnu, 'gfortran' for gnu95, 'ifort' for intel
* Better version handling in fcompilercookedm2007-06-151-23/+21
| | | | | | | | | | | | | | | | | | | | | | * Remove FCompiler.get_version_cmd, FCompiler.get_flags_version, FCompiler.get_linker_so_cmd, and FCompiler.get_linker_exe_cmd; subclasses should do this in FCompiler.update_executables() * FCompiler attributes .compiler_f77, .version_cmd, etc., are now properties that read from the .executables dictionary. * Update intel.py and absoft.py for above * Add extra asserts for defensive programming. Most of our problems here seem to come from bad values being generated, and the error not being caught until later. * must call FCompiler.customize() before FCompiler.get_version(); command/build_ext.py and command/config.py updated * verify that commands make sense earlier -- must be None or lists of strings Also, * add IA-32 as another pattern to search for in 32-bit Intel compiler version. * minor formatting * add debugging helpers to environment.py:EnvironmentConfig class
* Updated intel compiler arch flags -- intel compiler users should recheck ↵Pearu Peterson2007-06-051-2/+20
| | | | these options.
* fix my mistake in fcompiler/absoft.py and fcompiler/intel.pycookedm2007-05-281-9/+9
|
* Better temporary file handling by using one temporary directory forcookedm2007-05-281-10/+13
| | | | numpy.distutils, and removing that at exit. Replaces using tempfile.mktemp.
* distutils: clean up imports (found by running pyflakes)cookedm2007-05-251-3/+0
|
* merge from distutils-revamp branch (step 2)cookedm2007-05-251-39/+40
| | | | | | - fcompiler changes. All flags, executables, etc., should be overridable by the user with config_fc (either command line or setup.cfg) or by environment variables
* #520: don't add arch-specific flags when linking with Intel Fortrancookedm2007-05-151-1/+0
|
* Better version handling for gnu and intel Fortran compilerscookedm2007-04-221-12/+17
| | | | | | | | | - gnu compilers check if the version is >= 4, in which case it's gfortran - add a test file for gnu compiler check - simplify version matching on intel compilers to be more flexible - add FCompiler.find_executables so that subclasses can find executables at .customize() time, instead of when the class is created.
* Fix missing comment characters in intel.py. Check for None in .reshape and ↵Travis Oliphant2006-10-191-4/+4
| | | | .resize
* Add Intel Itanium compiler 9.x support (needs testing).Pearu Peterson2006-10-191-6/+11
|
* fix #234: IntelVisualFCompiler is brokencookedm2006-08-081-3/+0
|
* fix arch flags for ifort on machines in em64t modecookedm2006-07-171-0/+6
|
* Add Intel EM64T Fortran Compiler support.Pearu Peterson2006-04-091-2/+23
|
* Applied http://projects.scipy.org/scipy/numpy/ticket/39Pearu Peterson2006-03-311-4/+9
|
* Changed all references to scipy to numpyTravis Oliphant2006-01-041-4/+4
|
* Moved scipy directory to numpyTravis Oliphant2006-01-041-0/+174