summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2006-05-31 14:21:29 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2006-05-31 14:21:29 +0000
commitc81bb8372e5e5f29d506b10f61a9052ee9f59f03 (patch)
tree318321c29c2904800b4cca114ceeba54057a8eae /numpy
parent89294ae940833da001a9d276a721a4fd0658854b (diff)
downloadnumpy-c81bb8372e5e5f29d506b10f61a9052ee9f59f03.tar.gz
Updated g95 version pattern.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/distutils/fcompiler/g95.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/numpy/distutils/fcompiler/g95.py b/numpy/distutils/fcompiler/g95.py
index 247d3f94b..ca1498dd6 100644
--- a/numpy/distutils/fcompiler/g95.py
+++ b/numpy/distutils/fcompiler/g95.py
@@ -9,7 +9,10 @@ from numpy.distutils.fcompiler import FCompiler
class G95FCompiler(FCompiler):
compiler_type = 'g95'
- version_pattern = r'G95.*\(experimental\) \(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)
executables = {
'version_cmd' : ["g95", "--version"],