[Numpy-svn] r3061 - trunk/numpy/distutils/fcompiler

numpy-svn at scipy.org numpy-svn at scipy.org
Thu Aug 24 15:08:01 CDT 2006


Author: oliphant
Date: 2006-08-24 15:07:59 -0500 (Thu, 24 Aug 2006)
New Revision: 3061

Modified:
   trunk/numpy/distutils/fcompiler/g95.py
Log:
update g95 version pattern

Modified: trunk/numpy/distutils/fcompiler/g95.py
===================================================================
--- trunk/numpy/distutils/fcompiler/g95.py	2006-08-24 16:38:00 UTC (rev 3060)
+++ trunk/numpy/distutils/fcompiler/g95.py	2006-08-24 20:07:59 UTC (rev 3061)
@@ -9,11 +9,15 @@
 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"],



More information about the Numpy-svn mailing list