mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #84614 from compnerd/no-legacy
build.ps1: allow building without the legacy SDK
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user