Merge pull request #569 from drbenmorgan/gcc-suffixes
Add additional suffixes for GCC compiler
This commit is contained in:
commit
fb60d01f6a
1 changed files with 2 additions and 1 deletions
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue