diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2016-10-25 13:07:49 -0500 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-10-25 11:07:49 -0700 |
commit | a250792202087f4798e1dc114d8ea3f5037c4b0f (patch) | |
tree | 855d3d993a3cb75f0759dc513f9c607d8868e9c2 | |
parent | 08300ccffbe9ef25690e35e132b16b358c947bb2 (diff) | |
download | spack-a250792202087f4798e1dc114d8ea3f5037c4b0f.tar.gz spack-a250792202087f4798e1dc114d8ea3f5037c4b0f.tar.bz2 spack-a250792202087f4798e1dc114d8ea3f5037c4b0f.tar.xz spack-a250792202087f4798e1dc114d8ea3f5037c4b0f.zip |
Find compatibility versions of GCC (#2099)
-rw-r--r-- | lib/spack/spack/compilers/gcc.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/spack/spack/compilers/gcc.py b/lib/spack/spack/compilers/gcc.py index 9ea314efd5..557b1c13a9 100644 --- a/lib/spack/spack/compilers/gcc.py +++ b/lib/spack/spack/compilers/gcc.py @@ -41,8 +41,9 @@ class Gcc(Compiler): fc_names = ['gfortran'] # MacPorts builds gcc versions with prefixes and -mp-X.Y suffixes. - # Homebrew and Linuxes may build gcc with -X, -X.Y suffixes - suffixes = [r'-mp-\d\.\d', r'-\d\.\d', r'-\d'] + # Homebrew and Linuxbrew may build gcc with -X, -X.Y suffixes. + # Old compatibility versions may contain XY suffixes. + suffixes = [r'-mp-\d\.\d', r'-\d\.\d', r'-\d', r'\d\d'] # Named wrapper links within spack.build_env_path link_paths = {'cc': 'gcc/gcc', |