Add LLVM via choco (#4056)

This commit is contained in:
Henti Smith
2021-09-23 09:52:11 +01:00
committed by GitHub
parent f59c79f259
commit c97e29c514
6 changed files with 18 additions and 0 deletions

View File

@@ -94,6 +94,11 @@ function Get-JuliaVersion {
return "Julia $juliaVersion"
}
function Get-LLVMVersion {
$llvmVersion = [regex]::matches($(clang --version), "\d+\.\d+\.\d+").Value
return "LLVM $llvmVersion"
}
function Get-PerlVersion {
($(perl --version) | Out-String) -match "\(v(?<version>\d+\.\d+\.\d+)\)" | Out-Null
$perlVersion = $Matches.Version