Merge pull request #7528 from Bo98/gcc-10-formula
compilers: support GCC 10 as a formula
This commit is contained in:
commit
9023667f8c
@ -106,7 +106,7 @@ class CompilerSelector
|
|||||||
|
|
||||||
def gnu_gcc_versions
|
def gnu_gcc_versions
|
||||||
# prioritize gcc version provided by gcc formula.
|
# prioritize gcc version provided by gcc formula.
|
||||||
v = Formulary.factory("gcc").version.to_s.slice(/\d/)
|
v = Formulary.factory("gcc").version.to_s.slice(/\d+/)
|
||||||
GNU_GCC_VERSIONS - [v] + [v] # move the version to the end of the list
|
GNU_GCC_VERSIONS - [v] + [v] # move the version to the end of the list
|
||||||
rescue FormulaUnavailableError
|
rescue FormulaUnavailableError
|
||||||
GNU_GCC_VERSIONS
|
GNU_GCC_VERSIONS
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user