diff options
author | cookedm <cookedm@localhost> | 2007-05-25 11:41:16 +0000 |
---|---|---|
committer | cookedm <cookedm@localhost> | 2007-05-25 11:41:16 +0000 |
commit | 5267b3e16654ef326f525fdb9a1287a88396c616 (patch) | |
tree | 9e7137815415c08577f5451266cdc70f7caa3ea7 /numpy/distutils/fcompiler/ibm.py | |
parent | d11dbc78c0df5055a6ed57285775cc18dbe1721a (diff) | |
download | numpy-5267b3e16654ef326f525fdb9a1287a88396c616.tar.gz |
merge from distutils-revamp branch (step 2)
- 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
Diffstat (limited to 'numpy/distutils/fcompiler/ibm.py')
-rw-r--r-- | numpy/distutils/fcompiler/ibm.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/numpy/distutils/fcompiler/ibm.py b/numpy/distutils/fcompiler/ibm.py index e4e2cec32..a06618668 100644 --- a/numpy/distutils/fcompiler/ibm.py +++ b/numpy/distutils/fcompiler/ibm.py @@ -7,13 +7,16 @@ from numpy.distutils.exec_command import exec_command, find_executable from distutils import log from distutils.sysconfig import get_python_lib -class IbmFCompiler(FCompiler): +compilers = ['IBMFCompiler'] +class IBMFCompiler(FCompiler): compiler_type = 'ibm' + description = 'IBM XL Fortran Compiler' version_pattern = r'(xlf\(1\)\s*|)IBM XL Fortran ((Advanced Edition |)Version |Enterprise Edition V)(?P<version>[^\s*]*)' #IBM XL Fortran Enterprise Edition V10.1 for AIX \nVersion: 10.01.0000.0004 + executables = { - 'version_cmd' : ["xlf","-qversion"], + 'version_cmd' : ["<F77>", "-qversion"], 'compiler_f77' : ["xlf"], 'compiler_fix' : ["xlf90", "-qfixed"], 'compiler_f90' : ["xlf90"], |