scripts/Windows/install_llvm.ps1
$llvmVersion = "8.0.0" Write-Host "Installing LLVM $llvmVersion ..." -ForegroundColor Cyan Write-Host "Downloading..." $exePath = "$env:temp\LLVM-$llvmVersion-win64.exe" (New-Object Net.WebClient).DownloadFile("http://releases.llvm.org/$llvmVersion/LLVM-$llvmVersion-win64.exe", $exePath) Write-Host "Installing..." cmd /c start /wait $exePath /S Add-Path "$env:ProgramFiles\LLVM\bin" Add-SessionPath "$env:ProgramFiles\LLVM\bin" cmd /c clang --version Write-Host "Installed" -ForegroundColor Green |