Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions src/ci/scripts/pin-msvc.ps1
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
# Pin MSVC to this specific version (as a workaround for #165953 and #166301)
# Pin MSVC to this specific version (as a workaround for #166301)
$vcvars_ver=14.44

# #166301 only affects x86_64 jobs
if ($env:CI_JOB_NAME -Match 'x86_64') {
$host_arch="x64"
} elseif ($env:CI_JOB_NAME -Match 'i686') {
$host_arch="x64"
} elseif ($env:CI_JOB_NAME -Match 'aarch64') {
$host_arch="arm64"
} else {
Write-Error "Unrecognised arch"
exit 1
exit 0
}

# vswhere.exe is used to find Visual Studio directories.
Expand Down
Loading