From e5d36eaa683718b8801bb359ef607b7609b0720b Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Wed, 22 Jan 2025 09:14:21 -0800 Subject: [PATCH] utils: stop building Yams as the only consumer no longer uses it This cleans up the build to remove Yams which will save some time in the build. It also simplifies the build a bit. --- utils/build.ps1 | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/utils/build.ps1 b/utils/build.ps1 index e56919c76340e..af247df11e5a6 100644 --- a/utils/build.ps1 +++ b/utils/build.ps1 @@ -435,7 +435,6 @@ enum HostComponent { TestingMacros ToolsSupportCore LLBuild - Yams ArgumentParser Driver Crypto @@ -2255,21 +2254,6 @@ function Build-LLBuild($Arch, [switch]$Test = $false) { } } -function Build-Yams($Arch) { - Build-CMakeProject ` - -Src $SourceCache\Yams ` - -Bin (Get-HostProjectBinaryCache Yams) ` - -Arch $Arch ` - -Platform Windows ` - -UseBuiltCompilers C,Swift ` - -SwiftSDK (Get-HostSwiftSDK) ` - -BuildTargets default ` - -Defines @{ - BUILD_SHARED_LIBS = "NO"; - BUILD_TESTING = "NO"; - } -} - function Build-ArgumentParser($Arch) { Build-CMakeProject ` -Src $SourceCache\swift-argument-parser ` @@ -2298,7 +2282,6 @@ function Build-Driver($Arch) { BUILD_SHARED_LIBS = "YES"; TSC_DIR = (Get-HostProjectCMakeModules ToolsSupportCore); LLBuild_DIR = (Get-HostProjectCMakeModules LLBuild); - Yams_DIR = (Get-HostProjectCMakeModules Yams); ArgumentParser_DIR = (Get-HostProjectCMakeModules ArgumentParser); SQLite3_INCLUDE_DIR = "$LibraryRoot\sqlite-3.46.0\usr\include"; SQLite3_LIBRARY = "$LibraryRoot\sqlite-3.46.0\usr\lib\SQLite3.lib"; @@ -2880,7 +2863,6 @@ if (-not $SkipBuild) { Invoke-BuildStep Build-SQLite $HostArch Invoke-BuildStep Build-ToolsSupportCore $HostArch Invoke-BuildStep Build-LLBuild $HostArch - Invoke-BuildStep Build-Yams $HostArch Invoke-BuildStep Build-ArgumentParser $HostArch Invoke-BuildStep Build-Driver $HostArch Invoke-BuildStep Build-Crypto $HostArch