summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-08-24 20:07:59 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-08-24 20:07:59 +0000
commit060b124888953d302d8611c459f978ef9201ae96 (patch)
tree0c5560aefafb6aef5c6c5dfba08b5990f09e6db7
parent0b3285cf94f6dbd73c01f9d5678c2ab8a79d7968 (diff)
downloadnumpy-060b124888953d302d8611c459f978ef9201ae96.tar.gz
update g95 version pattern
-rw-r--r--numpy/distutils/fcompiler/g95.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/numpy/distutils/fcompiler/g95.py b/numpy/distutils/fcompiler/g95.py
index ca1498dd6..7a42c3d11 100644
--- a/numpy/distutils/fcompiler/g95.py
+++ b/numpy/distutils/fcompiler/g95.py
@@ -9,11 +9,15 @@ from numpy.distutils.fcompiler import FCompiler
class G95FCompiler(FCompiler):
compiler_type = 'g95'
- version_pattern = r'G95 \((GCC (?P<gccversion>[\d.]+)|.*?) \(g95!\) (?P<version>.*)\).*'
-
+# version_pattern = r'G95 \((GCC (?P<gccversion>[\d.]+)|.*?) \(g95!\) (?P<version>.*)\).*'
# $ g95 --version
# G95 (GCC 4.0.3 (g95!) May 22 2006)
+ version_pattern = r'G95 \((GCC (?P<gccversion>[\d.]+)|.*?) \(g95 (?P<version>.*)!\) (?P<date>.*)\).*'
+ # $ g95 --version
+ # G95 (GCC 4.0.3 (g95 0.90!) Aug 22 2006)
+
+
executables = {
'version_cmd' : ["g95", "--version"],
'compiler_f77' : ["g95", "-ffixed-form"],