diff options
author | Robert Kern <robert.kern@gmail.com> | 2007-03-25 23:12:00 +0000 |
---|---|---|
committer | Robert Kern <robert.kern@gmail.com> | 2007-03-25 23:12:00 +0000 |
commit | 3b8ce0276bcae0c99790cab2c3fed417288d21cb (patch) | |
tree | 23f445423fc3bfdfbe3c5eff0c30fa91825c4c21 /numpy | |
parent | 78f4e519a5bf7ee4bb4a23ea8b658272a365f45c (diff) | |
download | numpy-3b8ce0276bcae0c99790cab2c3fed417288d21cb.tar.gz |
Make the gfortran version matching regex accept gfortran 4.3 on OS X
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/distutils/fcompiler/gnu.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/distutils/fcompiler/gnu.py b/numpy/distutils/fcompiler/gnu.py index a9a6844a6..47fa2b856 100644 --- a/numpy/distutils/fcompiler/gnu.py +++ b/numpy/distutils/fcompiler/gnu.py @@ -250,12 +250,13 @@ class GnuFCompiler(FCompiler): 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): |