Skip to content

Commit e5d36ea

Browse files
committed
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.
1 parent 400b21f commit e5d36ea

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

utils/build.ps1

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,6 @@ enum HostComponent {
435435
TestingMacros
436436
ToolsSupportCore
437437
LLBuild
438-
Yams
439438
ArgumentParser
440439
Driver
441440
Crypto
@@ -2255,21 +2254,6 @@ function Build-LLBuild($Arch, [switch]$Test = $false) {
22552254
}
22562255
}
22572256

2258-
function Build-Yams($Arch) {
2259-
Build-CMakeProject `
2260-
-Src $SourceCache\Yams `
2261-
-Bin (Get-HostProjectBinaryCache Yams) `
2262-
-Arch $Arch `
2263-
-Platform Windows `
2264-
-UseBuiltCompilers C,Swift `
2265-
-SwiftSDK (Get-HostSwiftSDK) `
2266-
-BuildTargets default `
2267-
-Defines @{
2268-
BUILD_SHARED_LIBS = "NO";
2269-
BUILD_TESTING = "NO";
2270-
}
2271-
}
2272-
22732257
function Build-ArgumentParser($Arch) {
22742258
Build-CMakeProject `
22752259
-Src $SourceCache\swift-argument-parser `
@@ -2298,7 +2282,6 @@ function Build-Driver($Arch) {
22982282
BUILD_SHARED_LIBS = "YES";
22992283
TSC_DIR = (Get-HostProjectCMakeModules ToolsSupportCore);
23002284
LLBuild_DIR = (Get-HostProjectCMakeModules LLBuild);
2301-
Yams_DIR = (Get-HostProjectCMakeModules Yams);
23022285
ArgumentParser_DIR = (Get-HostProjectCMakeModules ArgumentParser);
23032286
SQLite3_INCLUDE_DIR = "$LibraryRoot\sqlite-3.46.0\usr\include";
23042287
SQLite3_LIBRARY = "$LibraryRoot\sqlite-3.46.0\usr\lib\SQLite3.lib";
@@ -2880,7 +2863,6 @@ if (-not $SkipBuild) {
28802863
Invoke-BuildStep Build-SQLite $HostArch
28812864
Invoke-BuildStep Build-ToolsSupportCore $HostArch
28822865
Invoke-BuildStep Build-LLBuild $HostArch
2883-
Invoke-BuildStep Build-Yams $HostArch
28842866
Invoke-BuildStep Build-ArgumentParser $HostArch
28852867
Invoke-BuildStep Build-Driver $HostArch
28862868
Invoke-BuildStep Build-Crypto $HostArch

0 commit comments

Comments
 (0)