Skip to content

utils: convert SystemPackage to static linkage #78720

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 21, 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
7 changes: 2 additions & 5 deletions utils/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,6 @@ enum HostComponent {
Compilers = 5
FoundationMacros = 10
TestingMacros
System
ToolsSupportCore
LLBuild
Yams
Expand All @@ -443,6 +442,7 @@ enum HostComponent {
Collections
ASN1
Certificates
System
PackageManager
Markdown
Format
Expand Down Expand Up @@ -2209,7 +2209,6 @@ function Build-ToolsSupportCore($Arch) {
-SwiftSDK (Get-HostSwiftSDK) `
-Defines @{
BUILD_SHARED_LIBS = "YES";
SwiftSystem_DIR = (Get-HostProjectCMakeModules System);
}
}

Expand Down Expand Up @@ -2297,7 +2296,6 @@ function Build-Driver($Arch) {
-SwiftSDK (Get-HostSwiftSDK) `
-Defines @{
BUILD_SHARED_LIBS = "YES";
SwiftSystem_DIR = (Get-HostProjectCMakeModules System);
TSC_DIR = (Get-HostProjectCMakeModules ToolsSupportCore);
LLBuild_DIR = (Get-HostProjectCMakeModules LLBuild);
Yams_DIR = (Get-HostProjectCMakeModules Yams);
Expand Down Expand Up @@ -2513,7 +2511,6 @@ function Build-SourceKitLSP($Arch) {
-SwiftSDK (Get-HostSwiftSDK) `
-Defines @{
SwiftSyntax_DIR = (Get-HostProjectCMakeModules Compilers);
SwiftSystem_DIR = (Get-HostProjectCMakeModules System);
TSC_DIR = (Get-HostProjectCMakeModules ToolsSupportCore);
LLBuild_DIR = (Get-HostProjectCMakeModules LLBuild);
ArgumentParser_DIR = (Get-HostProjectCMakeModules ArgumentParser);
Expand Down Expand Up @@ -2881,7 +2878,6 @@ if (-not $ToBatch) {

if (-not $SkipBuild) {
Invoke-BuildStep Build-SQLite $HostArch
Invoke-BuildStep Build-System $HostArch
Invoke-BuildStep Build-ToolsSupportCore $HostArch
Invoke-BuildStep Build-LLBuild $HostArch
Invoke-BuildStep Build-Yams $HostArch
Expand All @@ -2891,6 +2887,7 @@ if (-not $SkipBuild) {
Invoke-BuildStep Build-Collections $HostArch
Invoke-BuildStep Build-ASN1 $HostArch
Invoke-BuildStep Build-Certificates $HostArch
Invoke-BuildStep Build-System $HostArch
Invoke-BuildStep Build-PackageManager $HostArch
Invoke-BuildStep Build-Markdown $HostArch
Invoke-BuildStep Build-Format $HostArch
Expand Down