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

numpy-svn@scip... numpy-svn@scip...
Sun Mar 25 18:12:03 CDT 2007


Author: rkern
Date: 2007-03-25 18:12:00 -0500 (Sun, 25 Mar 2007)
New Revision: 3598

Modified:
   trunk/numpy/distutils/fcompiler/gnu.py
Log:
Make the gfortran version matching regex accept gfortran 4.3 on OS X

Modified: trunk/numpy/distutils/fcompiler/gnu.py
===================================================================
--- trunk/numpy/distutils/fcompiler/gnu.py	2007-03-25 03:04:27 UTC (rev 3597)
+++ trunk/numpy/distutils/fcompiler/gnu.py	2007-03-25 23:12:00 UTC (rev 3598)
@@ -250,12 +250,13 @@
 class Gnu95FCompiler(GnuFCompiler):
 
     compiler_type = 'gnu95'
-    version_match = simple_version_match(start='GNU Fortran 95')
+    version_match = simple_version_match(start='GNU Fortran (95|\(GCC\))')
 
     # 'gfortran --version' results:
     # Debian: GNU Fortran 95 (GCC 4.0.3 20051023 (prerelease) (Debian 4.0.2-3))
     # OS X: GNU Fortran 95 (GCC) 4.1.0
     #       GNU Fortran 95 (GCC) 4.2.0 20060218 (experimental)
+    #       GNU Fortran (GCC) 4.3.0 20070316 (experimental)
 
     for fc_exe in map(find_executable,['gfortran','f95']):
         if os.path.isfile(fc_exe):



More information about the Numpy-svn mailing list