From 37b35e81676bfa053ec7030b7c2157e107698614 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Sat, 12 Apr 2025 09:48:15 -0700 Subject: [PATCH] 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. --- utils/build.ps1 | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/utils/build.ps1 b/utils/build.ps1 index 317afebfbd713..728c026b97c37 100644 --- a/utils/build.ps1 +++ b/utils/build.ps1 @@ -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. @@ -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")] @@ -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 {