diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-03-18 10:15:19 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-03-18 10:15:19 -0700 |
commit | fb60d01f6a65881d7eb53c402fc04843380c9076 (patch) | |
tree | e9f494f33cbf5851ac2c6503658a0ea1050f694a | |
parent | 179ed7cce642040f07ad94140b1e3cf6867b6936 (diff) | |
parent | 076cc764a78c387d0e0cc38047a9df8497416f90 (diff) | |
download | spack-fb60d01f6a65881d7eb53c402fc04843380c9076.tar.gz spack-fb60d01f6a65881d7eb53c402fc04843380c9076.tar.bz2 spack-fb60d01f6a65881d7eb53c402fc04843380c9076.tar.xz spack-fb60d01f6a65881d7eb53c402fc04843380c9076.zip |
Merge pull request #569 from drbenmorgan/gcc-suffixes
Add additional suffixes for GCC compiler
-rw-r--r-- | lib/spack/spack/compilers/gcc.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/spack/spack/compilers/gcc.py b/lib/spack/spack/compilers/gcc.py index 495b638a3a..64214db32d 100644 --- a/lib/spack/spack/compilers/gcc.py +++ b/lib/spack/spack/compilers/gcc.py @@ -40,7 +40,8 @@ class Gcc(Compiler): fc_names = ['gfortran'] # MacPorts builds gcc versions with prefixes and -mp-X.Y suffixes. - suffixes = [r'-mp-\d\.\d'] + # Homebrew and Linuxes may build gcc with -X, -X.Y suffixes + suffixes = [r'-mp-\d\.\d', r'-\d\.\d', r'-\d'] # Named wrapper links within spack.build_env_path link_paths = {'cc' : 'gcc/gcc', |