🍒 [windows] update to the 6.1.2 toolchain in build.ps1 #84153
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Explanation:
Building the toolchain on ARM64 Windows crashes due to a compiler bug in
6.0.x
. The crash was fixed in6.1.0
. This patch fixes the build issue by updating the host compiler to6.1.2
.Without this patch, it is currently impossible to build the Swift toolchain on ARM64 Windows.
This is NOT blocking building the official release, as the CI bots run on x64 and cross compile to ARM64. However, anybody trying to build the toolchain on an ARM64 machine will not be able to do so.
Scope:
This change fixes an issue in the Windows build script (
build.ps1
).Issues:
Original PRs:
Risk:
Low, this updates the host compiler's version from
6.0.1
to6.1.2
.Testing:
Built at desk on an ARM64 machine, and in CI, building and testing on an x64 machine.
Reviewers: