Skip to content

utils: stop building Yams as the only consumer no longer uses it #78816

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
Jan 22, 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
18 changes: 0 additions & 18 deletions utils/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,6 @@ enum HostComponent {
TestingMacros
ToolsSupportCore
LLBuild
Yams
ArgumentParser
Driver
Crypto
Expand Down Expand Up @@ -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 `
Expand Down Expand Up @@ -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";
Expand Down Expand Up @@ -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
Expand Down