summaryrefslogtreecommitdiff
path: root/numpy/distutils/fcompiler/intel.py
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2006-10-19 22:03:23 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2006-10-19 22:03:23 +0000
commitec2c2bc190e3a8fa9aa6e956cc0ce6dd63bde445 (patch)
tree1dce496d2a32583981427a2101ad100caf91cb49 /numpy/distutils/fcompiler/intel.py
parent0d9589d534383c8e4291d0579208b36ece2312e1 (diff)
downloadnumpy-ec2c2bc190e3a8fa9aa6e956cc0ce6dd63bde445.tar.gz
Add Intel Itanium compiler 9.x support (needs testing).
Diffstat (limited to 'numpy/distutils/fcompiler/intel.py')
-rw-r--r--numpy/distutils/fcompiler/intel.py17
1 files changed, 11 insertions, 6 deletions
diff --git a/numpy/distutils/fcompiler/intel.py b/numpy/distutils/fcompiler/intel.py
index 59308742d..03ff1adbf 100644
--- a/numpy/distutils/fcompiler/intel.py
+++ b/numpy/distutils/fcompiler/intel.py
@@ -74,9 +74,14 @@ class IntelFCompiler(FCompiler):
class IntelItaniumFCompiler(IntelFCompiler):
compiler_type = 'intele'
- version_pattern = r'Intel\(R\) Fortran 90 Compiler Itanium\(TM\) Compiler'\
- ' for the Itanium\(TM\)-based applications,'\
- ' Version (?P<version>[^\s*]*)'
+ version_pattern = r'Intel\(R\) Fortran (90 Compiler Itanium\(TM\)|Itanium\(R\)) Compiler'\
+ ' for (the Itanium\(TM\)|Itanium\(R\))-based applications(,|)'\
+ '\s+Version (?P<version>[^\s*]*)'
+
+Intel(R) Fortran Itanium(R) Compiler for Itanium(R)-based applications
+Version 9.1    Build 20060928 Package ID: l_fc_c_9.1.039
+Copyright (C) 1985-2006 Intel Corporation.  All rights reserved.
+30 DAY EVALUATION LICENSE
for fc_exe in map(find_executable,['ifort','efort','efc']):
if os.path.isfile(fc_exe):
@@ -176,9 +181,9 @@ class IntelVisualFCompiler(FCompiler):
class IntelItaniumVisualFCompiler(IntelVisualFCompiler):
compiler_type = 'intelev'
- version_pattern = r'Intel\(R\) Fortran 90 Compiler Itanium\(TM\) Compiler'\
- ' for the Itanium\(TM\)-based applications,'\
- ' Version (?P<version>[^\s*]*)'
+ version_pattern = r'Intel\(R\) Fortran (90 Compiler Itanium\(TM\)|Itanium\(R\)) Compiler'\
+ ' for (the Itanium\(TM\)|Itanium\(R\))-based applications(,|)'\
+ '\s+Version (?P<version>[^\s*]*)'
fc_exe = 'efl' # XXX this is a wild guess
ar_exe = IntelVisualFCompiler.ar_exe