Skip to content

Commit b4f2f49

Browse files
committed
utils: pin the latest build for ARM64 to bootstrap on Windows
We need a bootstrapping toolchain. Now that we have an ARM64 build for Windows, pin that to provide a default pinned toolchain. This should allow us to build natively on Windows ARM64 without having to specify the download image ourselves.
1 parent 549566e commit b4f2f49

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

utils/build.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,9 @@ if ($PinnedBuild -eq "") {
155155
$PinnedVersion = "5.10.1"
156156
}
157157
"ARM64" {
158-
# TODO(hjyamauchi) once we have an arm64 release, fill in PinnedBuild and PinnedSHA256.
159-
throw "Missing pinned toolchain for ARM64"
158+
$PinnedBuild = "https://download.swift.org/development/windows10-arm64/swift-DEVELOPMENT-SNAPSHOT-2024-07-02-a/swift-DEVELOPMENT-SNAPSHOT-2024-07-02-a-windows10-arm64.exe"
159+
$PinnedSHA256 = "037BDBF9D1A1A99D7156584948870A8A958FD27CC4FF5711691CC0A76F2E88F5"
160+
$PinnedVersion = "0.0.0"
160161
}
161162
default { throw "Unsupported processor architecture" }
162163
}

0 commit comments

Comments
 (0)