Skip to content

Commit 92f99a0

Browse files
compnerdweliveindetail
authored andcommitted
utils: remove swiftinterfaces from the build image
These cannot be re-serialized due to a bug in the serialization logic where we do not inject the VFS overlay for the system modules. Bug: #79839
1 parent c4b0bae commit 92f99a0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

utils/build.ps1

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3195,6 +3195,10 @@ if (-not $SkipBuild) {
31953195

31963196
# Build platform: SDK, Redist and XCTest
31973197
Invoke-BuildStep Build-Runtime Windows $Arch
3198+
3199+
# FIXME(swiftlang/swift#79839)
3200+
Get-ChildItem -Recurse -Path "$(Get-SwiftSDK Windows)\usr\lib\swift\windows" -Filter "*.swiftinterface" | Remove-Item -Force | Out-Null
3201+
31983202
Invoke-BuildStep Build-Dispatch Windows $Arch
31993203
# FIXME(compnerd) ensure that the _build_ is the first arch and don't rebuild on each arch
32003204
Invoke-BuildStep Build-FoundationMacros -Build Windows $BuildArch
@@ -3228,6 +3232,10 @@ if (-not $SkipBuild) {
32283232

32293233
# Build platform: SDK, Redist and XCTest
32303234
Invoke-BuildStep Build-Runtime Android $Arch
3235+
3236+
# FIXME(swiftlang/swift#79839)
3237+
Get-ChildItem -Recurse -Path "$(Get-SwiftSDK Android)\usr\lib\swift\android" -Filter "*.swiftinterface" | Remove-Item -Force | Out-Null
3238+
32313239
Invoke-BuildStep Build-Dispatch Android $Arch
32323240
Invoke-BuildStep Build-Foundation Android $Arch
32333241
Invoke-BuildStep Build-Sanitizers Android $Arch

0 commit comments

Comments
 (0)