Skip to content

Commit bf30e7b

Browse files
authored
Merge pull request #84614 from compnerd/no-legacy
build.ps1: allow building without the legacy SDK
2 parents 4c3471a + f8eff8b commit bf30e7b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/build.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3902,6 +3902,7 @@ function Build-Installer([Hashtable] $Platform) {
39023902
$Properties = @{
39033903
BundleFlavor = "offline";
39043904
ImageRoot = "$(Get-InstallDir $Platform)\";
3905+
IncludeLegacySDK = if ($HostPlatform.DefaultSDK -match "Experimental") { "False" } else { "True" };
39053906
INCLUDE_SWIFT_DOCC = $INCLUDE_SWIFT_DOCC;
39063907
SWIFT_DOCC_BUILD = "$(Get-ProjectBinaryCache $HostPlatform DocC)\release";
39073908
SWIFT_DOCC_RENDER_ARTIFACT_ROOT = "${SourceCache}\swift-docc-render-artifact";

0 commit comments

Comments
 (0)