From c81bb8372e5e5f29d506b10f61a9052ee9f59f03 Mon Sep 17 00:00:00 2001 From: Pearu Peterson Date: Wed, 31 May 2006 14:21:29 +0000 Subject: Updated g95 version pattern. --- numpy/distutils/fcompiler/g95.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'numpy/distutils/fcompiler/g95.py') 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_pattern = r'G95 \((GCC (?P[\d.]+)|.*?) \(g95!\) (?P.*)\).*' + + # $ g95 --version + # G95 (GCC 4.0.3 (g95!) May 22 2006) executables = { 'version_cmd' : ["g95", "--version"], -- cgit v1.2.1