diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2014-09-27 16:19:56 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2014-09-27 16:19:56 -0700 |
commit | 5cc508393a49c9212092356b9d8bf59eb0b488e4 (patch) | |
tree | 40b01e66373925d755b1c8eeb61ad464ff4bc652 /lib | |
parent | 63292c5826279d67ead30be03d4d954d40c2b342 (diff) | |
download | spack-5cc508393a49c9212092356b9d8bf59eb0b488e4.tar.gz spack-5cc508393a49c9212092356b9d8bf59eb0b488e4.tar.bz2 spack-5cc508393a49c9212092356b9d8bf59eb0b488e4.tar.xz spack-5cc508393a49c9212092356b9d8bf59eb0b488e4.zip |
gfortran version detection brokenon debian.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/compilers/gcc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/compilers/gcc.py b/lib/spack/spack/compilers/gcc.py index 097b24bb87..f0d27d590e 100644 --- a/lib/spack/spack/compilers/gcc.py +++ b/lib/spack/spack/compilers/gcc.py @@ -56,7 +56,7 @@ class Gcc(Compiler): return get_compiler_version( fc, '-dumpversion', # older gfortran versions don't have simple dumpversion output. - r'(?:GNU Fortran \(GCC\))?(\d+\.\d+\.\d+)') + r'(?:GNU Fortran \(GCC\))?(\d+\.\d+(?:\.\d+)?)') @classmethod |