Skip to content

utils: remove -BuildTo feature from build.ps1 #80864

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 17, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions utils/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,6 @@ An array of names of projects to run tests for.
.PARAMETER Stage
The path to a directory where built msi's and the installer executable should be staged (for CI).

.PARAMETER BuildTo
The name of a build step after which the script should terminate.
For example: -BuildTo ToolsSupportCore

.PARAMETER ToBatch
When set, runs the script in a special mode which outputs a listing of command invocations
in batch file format instead of executing them.
Expand Down Expand Up @@ -150,15 +146,6 @@ param
[switch] $IncludeDS2 = $false,
[string[]] $Test = @(),
[string] $Stage = "",
[ValidateSet("ArgumentParser", "ASN1", "BuildTools", "Certificates", "CMark",
"Collections", "Compilers", "Crypto", "CURL", "Dispatch", "DocC", "Driver",
"DS2", "ExperimentalRuntime", "Format", "Foundation", "FoundationMacros",
"IndexStoreDB", "Inspect", "Installer", "LLBuild", "LLVM", "LMDB",
"Markdown", "mimalloc", "PackageManager", "PlatformInfoPlist", "RegsGen2",
"Runtime", "Sanitizers", "SDKSettingsPlist", "SourceKitLSP", "SQLite",
"System", "Testing", "TestingMacros", "ToolsSupportCore", "XCTest", "XML2",
"ZLib")]
[string] $BuildTo = "",
[ValidateSet("AMD64", "ARM64")]
[string] $HostArchName = $(if ($env:PROCESSOR_ARCHITEW6432) { $env:PROCESSOR_ARCHITEW6432 } else { $env:PROCESSOR_ARCHITECTURE }),
[ValidateSet("Asserts", "NoAsserts")]
Expand Down Expand Up @@ -594,9 +581,6 @@ function Invoke-BuildStep {
if ($Summary) {
Add-TimingData $Platform $Name $Stopwatch.Elapsed
}
if ($Name.Replace("Build-", "") -eq $BuildTo) {
exit 0
}
}

enum Project {
Expand Down