Skip to content

Commit b28290b

Browse files
authored
Merge pull request swiftlang#78822 from compnerd/static-system
utils: convert System to static
2 parents 74a8c58 + 0f1bea8 commit b28290b

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

utils/build.ps1

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2182,19 +2182,14 @@ function Build-System($Arch) {
21822182
Build-CMakeProject `
21832183
-Src $SourceCache\swift-system `
21842184
-Bin (Get-HostProjectBinaryCache System) `
2185-
-InstallTo "$($Arch.ToolchainInstallRoot)\usr" `
21862185
-Arch $Arch `
21872186
-Platform Windows `
21882187
-UseBuiltCompilers C,Swift `
21892188
-SwiftSDK (Get-HostSwiftSDK) `
2189+
-BuildTargets default `
21902190
-Defines @{
2191-
BUILD_SHARED_LIBS = "YES";
2191+
BUILD_SHARED_LIBS = "NO";
21922192
}
2193-
2194-
if (-not $ToBatch) {
2195-
# Remove unnecessary "S:\Program Files\swift\Toolchains\0.0.0+Asserts\usr\include\CSystem"
2196-
Remove-Item -Force -Recurse "$($Arch.ToolchainInstallRoot)\usr\include\CSystem" -ErrorAction Ignore | Out-Null
2197-
}
21982193
}
21992194

22002195
function Build-ToolsSupportCore($Arch) {

0 commit comments

Comments
 (0)