Skip to content

Commit 37b35e8

Browse files
committed
utils: remove -BuildTo feature from build.ps1
This feature never really was used in the CI systems as it was intended. It was meant to allow doing partial builds for smoke testing. However, we have a much better solution for that now: docker. Remove this feature that is underutilized.
1 parent 9eebee8 commit 37b35e8

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

utils/build.ps1

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,6 @@ An array of names of projects to run tests for.
9393
.PARAMETER Stage
9494
The path to a directory where built msi's and the installer executable should be staged (for CI).
9595
96-
.PARAMETER BuildTo
97-
The name of a build step after which the script should terminate.
98-
For example: -BuildTo ToolsSupportCore
99-
10096
.PARAMETER ToBatch
10197
When set, runs the script in a special mode which outputs a listing of command invocations
10298
in batch file format instead of executing them.
@@ -150,15 +146,6 @@ param
150146
[switch] $IncludeDS2 = $false,
151147
[string[]] $Test = @(),
152148
[string] $Stage = "",
153-
[ValidateSet("ArgumentParser", "ASN1", "BuildTools", "Certificates", "CMark",
154-
"Collections", "Compilers", "Crypto", "CURL", "Dispatch", "DocC", "Driver",
155-
"DS2", "ExperimentalRuntime", "Format", "Foundation", "FoundationMacros",
156-
"IndexStoreDB", "Inspect", "Installer", "LLBuild", "LLVM", "LMDB",
157-
"Markdown", "mimalloc", "PackageManager", "PlatformInfoPlist", "RegsGen2",
158-
"Runtime", "Sanitizers", "SDKSettingsPlist", "SourceKitLSP", "SQLite",
159-
"System", "Testing", "TestingMacros", "ToolsSupportCore", "XCTest", "XML2",
160-
"ZLib")]
161-
[string] $BuildTo = "",
162149
[ValidateSet("AMD64", "ARM64")]
163150
[string] $HostArchName = $(if ($env:PROCESSOR_ARCHITEW6432) { $env:PROCESSOR_ARCHITEW6432 } else { $env:PROCESSOR_ARCHITECTURE }),
164151
[ValidateSet("Asserts", "NoAsserts")]
@@ -594,9 +581,6 @@ function Invoke-BuildStep {
594581
if ($Summary) {
595582
Add-TimingData $Platform $Name $Stopwatch.Elapsed
596583
}
597-
if ($Name.Replace("Build-", "") -eq $BuildTo) {
598-
exit 0
599-
}
600584
}
601585

602586
enum Project {

0 commit comments

Comments
 (0)