From f8eff8ba3ef4a8e7cbfd883724b52a91e91de1aa Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Thu, 11 Sep 2025 22:22:28 -0700 Subject: [PATCH] build.ps1: allow building without the legacy SDK Update the installer build to exclude the legacy SDK content from packaging. This prepares us to remove the legacy SDK entirely from the build. --- utils/build.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/build.ps1 b/utils/build.ps1 index cc11800e218ac..c30119a1e5c3a 100644 --- a/utils/build.ps1 +++ b/utils/build.ps1 @@ -3902,6 +3902,7 @@ function Build-Installer([Hashtable] $Platform) { $Properties = @{ BundleFlavor = "offline"; ImageRoot = "$(Get-InstallDir $Platform)\"; + IncludeLegacySDK = if ($HostPlatform.DefaultSDK -match "Experimental") { "False" } else { "True" }; INCLUDE_SWIFT_DOCC = $INCLUDE_SWIFT_DOCC; SWIFT_DOCC_BUILD = "$(Get-ProjectBinaryCache $HostPlatform DocC)\release"; SWIFT_DOCC_RENDER_ARTIFACT_ROOT = "${SourceCache}\swift-docc-render-artifact";