Merge pull request #84614 from compnerd/no-legacy

build.ps1: allow building without the legacy SDK
This commit is contained in:
Saleem Abdulrasool
2025-10-02 08:44:48 -07:00
committed by GitHub

View File

@@ -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";