diff options
author | Carlos Valiente <carlos.valiente@ecmwf.int> | 2011-12-05 13:23:03 +0000 |
---|---|---|
committer | Ralf Gommers <ralf.gommers@googlemail.com> | 2011-12-05 23:46:11 +0100 |
commit | 5a683949d87fbad1dc93fb4fcb8b8293e7d19dc4 (patch) | |
tree | 2efa6a50c90ceabcc3e9eecb73a2e58af1741032 /numpy/distutils/fcompiler/ibm.py | |
parent | 059334c491940752b08070074cc221b69487e5e4 (diff) | |
download | numpy-5a683949d87fbad1dc93fb4fcb8b8293e7d19dc4.tar.gz |
MAINT: update version match regexp for IBM AIX Fortran compilers.
The patched version correctly matches the output of ``xlf -qversion`` on my AIX platform:
$ uname -a
AIX c1t0101 3 5 00CF49B14C00
$ xlf -qversion
IBM XL Fortran for AIX, V12.1
Version: 12.01.0000.0000
$
Diffstat (limited to 'numpy/distutils/fcompiler/ibm.py')
-rw-r--r-- | numpy/distutils/fcompiler/ibm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/fcompiler/ibm.py b/numpy/distutils/fcompiler/ibm.py index 1ec084027..113134bbd 100644 --- a/numpy/distutils/fcompiler/ibm.py +++ b/numpy/distutils/fcompiler/ibm.py @@ -12,7 +12,7 @@ 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*]*)' + version_pattern = r'(xlf\(1\)\s*|)IBM XL Fortran ((Advanced Edition |)Version |Enterprise Edition V|for AIX, V)(?P<version>[^\s*]*)' #IBM XL Fortran Enterprise Edition V10.1 for AIX \nVersion: 10.01.0000.0004 executables = { |