Skip to content

Commit bfcc5b6

Browse files
committed
utils: update toolchain snapshot to permit use of the experimental SDK
Use the experimental SDK to build the toolchain and consume the redistributable. This is going to ensure that we build the entire toolchain against a stable point and run against the runtime that we build against.
1 parent 1e446b4 commit bfcc5b6

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

utils/build.ps1

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -273,14 +273,14 @@ if ($UseHostToolchain -is [string]) {
273273

274274
$DefaultPinned = @{
275275
AMD64 = @{
276-
PinnedBuild = "https://download.swift.org/swift-6.1.2-release/windows10/swift-6.1.2-RELEASE/swift-6.1.2-RELEASE-windows10.exe";
277-
PinnedSHA256 = "92A0323ED7DD333C3B05E6E0E428F3A91C77D159F6CCFC8626A996F2ACE09A0B";
278-
PinnedVersion = "6.1.2";
276+
PinnedBuild = "https://download.swift.org/development/windows10/swift-DEVELOPMENT-SNAPSHOT-2025-11-03-a/swift-DEVELOPMENT-SNAPSHOT-2025-11-03-a-windows10.exe";
277+
PinnedSHA256 = "1B93C9B419070925E5ABCD1A273C510121E9928554876EC0DCA530121D8C93D3";
278+
PinnedVersion = "0.0.0";
279279
};
280280
ARM64 = @{
281-
PinnedBuild = "https://download.swift.org/swift-6.1.2-release/windows10-arm64/swift-6.1.2-RELEASE/swift-6.1.2-RELEASE-windows10-arm64.exe";
282-
PinnedSHA256 = "121FB407E578178F82DCCF39A4D03527873D8F7611A801A8FC26DA52503A0C5C";
283-
PinnedVersion = "6.1.2";
281+
PinnedBuild = "https://download.swift.org/development/windows10-arm64/swift-DEVELOPMENT-SNAPSHOT-2025-11-03-a/swift-DEVELOPMENT-SNAPSHOT-2025-11-03-a-windows10-arm64.exe"
282+
PinnedSHA256 = "";
283+
PinnedVersion = "0.0.0";
284284
};
285285
}
286286

@@ -2227,15 +2227,10 @@ function Get-CompilersDefines([Hashtable] $Platform, [string] $Variant, [switch]
22272227
$SwiftFlags += @("-use-ld=lld");
22282228
}
22292229

2230-
$CMakeStaticLibPrefixSwiftDefine = if ((Get-PinnedToolchainVersion) -eq "0.0.0") {
2231-
@{ CMAKE_STATIC_LIBRARY_PREFIX_Swift = "lib"; }
2232-
} else {
2233-
@{}
2234-
}
2235-
22362230
return $TestDefines + $DebugDefines + @{
22372231
CLANG_TABLEGEN = (Join-Path -Path $BuildTools -ChildPath "clang-tblgen.exe");
22382232
CLANG_TIDY_CONFUSABLE_CHARS_GEN = (Join-Path -Path $BuildTools -ChildPath "clang-tidy-confusable-chars-gen.exe");
2233+
CMAKE_STATIC_LIBRARY_PREFIX_Swift = "lib";
22392234
CMAKE_Swift_FLAGS = $SwiftFlags;
22402235
LibXml2_DIR = "$BinaryCache\$($Platform.Triple)\usr\lib\cmake\libxml2-2.11.5";
22412236
LLDB_LIBXML2_VERSION = "2.11.5";
@@ -2284,7 +2279,7 @@ function Get-CompilersDefines([Hashtable] $Platform, [string] $Variant, [switch]
22842279
SWIFT_STDLIB_ASSERTIONS = "NO";
22852280
SWIFTSYNTAX_ENABLE_ASSERTIONS = "NO";
22862281
"cmark-gfm_DIR" = "$($Platform.ToolchainInstallRoot)\usr\lib\cmake";
2287-
} + $CMakeStaticLibPrefixSwiftDefine
2282+
}
22882283
}
22892284

22902285
function Build-Compilers([Hashtable] $Platform, [string] $Variant) {

0 commit comments

Comments
 (0)