[macos] install gfortran-10 (#2186)

This commit is contained in:
Aleksandr Chebotov
2020-12-03 18:40:19 +03:00
committed by GitHub
parent f0bafa3eae
commit d0dd391b70
3 changed files with 14 additions and 5 deletions

View File

@@ -55,7 +55,7 @@ function Get-VcpkgVersion {
}
function Get-GccVersion {
$versionList = @("8", "9")
$versionList = @("8", "9", "10")
$versionList | Foreach-Object {
$version = Run-Command "gcc-${_} --version" | Select-Object -First 1
"$version - available by ``gcc-${_}`` alias"
@@ -63,7 +63,7 @@ function Get-GccVersion {
}
function Get-FortranVersion {
$versionList = @("8", "9")
$versionList = @("8", "9", "10")
$versionList | Foreach-Object {
$version = Run-Command "gfortran-${_} --version" | Select-Object -First 1
"$version - available by ``gfortran-${_}`` alias"