Find compatibility versions of GCC (#2099)
This commit is contained in:
parent
08300ccffb
commit
a250792202
1 changed files with 3 additions and 2 deletions
|
@ -41,8 +41,9 @@ class Gcc(Compiler):
|
||||||
fc_names = ['gfortran']
|
fc_names = ['gfortran']
|
||||||
|
|
||||||
# MacPorts builds gcc versions with prefixes and -mp-X.Y suffixes.
|
# MacPorts builds gcc versions with prefixes and -mp-X.Y suffixes.
|
||||||
# Homebrew and Linuxes may build gcc with -X, -X.Y suffixes
|
# Homebrew and Linuxbrew may build gcc with -X, -X.Y suffixes.
|
||||||
suffixes = [r'-mp-\d\.\d', r'-\d\.\d', r'-\d']
|
# 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
|
# Named wrapper links within spack.build_env_path
|
||||||
link_paths = {'cc': 'gcc/gcc',
|
link_paths = {'cc': 'gcc/gcc',
|
||||||
|
|
Loading…
Reference in a new issue