Merge pull request #569 from drbenmorgan/gcc-suffixes

Add additional suffixes for GCC compiler
This commit is contained in:
Todd Gamblin 2016-03-18 10:15:19 -07:00
commit fb60d01f6a

View file

@ -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',