Remove unnecessary executable permission from .ps1 scripts
[kiteware-cmake.git] / .gitlab / ci / clang-env.ps1
blob451fca37011bc99fca35136b61406d20e3e53836
1 Invoke-Expression -Command .gitlab/ci/clang.ps1
2 Invoke-Expression -Command .gitlab/ci/vcvarsall.ps1
4 $pwdpath = $pwd.Path
5 Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\llvm\bin;$env:PATH"
7 if ("$env:CMAKE_CI_BUILD_NAME" -match "(^|_)gnu(_|$)") {
8 $env:CC = "clang"
9 $env:CXX = "clang++"
10 clang --version
11 } else {
12 $env:CC = "clang-cl"
13 $env:CXX = "clang-cl"
14 clang-cl --version