Skip to content

Commit 8019520

Browse files
committed
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 d0513a7 commit 8019520

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
@@ -3162,6 +3162,10 @@ if (-not $SkipBuild) {
31623162

31633163
# Build platform: SDK, Redist and XCTest
31643164
Invoke-BuildStep Build-Runtime Windows $Arch
3165+
3166+
# FIXME(swiftlang/swift#79839)
3167+
Get-ChildItem -Recurse -Path "$(Get-SwiftSDK Windows)\usr\lib\swift\windows" -Filter "*.swiftinterface" | Remove-Item -Force | Out-Null
3168+
31653169
Invoke-BuildStep Build-Dispatch Windows $Arch
31663170
# FIXME(compnerd) ensure that the _build_ is the first arch and don't rebuild on each arch
31673171
Invoke-BuildStep Build-FoundationMacros -Build Windows $BuildArch
@@ -3195,6 +3199,10 @@ if (-not $SkipBuild) {
31953199

31963200
# Build platform: SDK, Redist and XCTest
31973201
Invoke-BuildStep Build-Runtime Android $Arch
3202+
3203+
# FIXME(swiftlang/swift#79839)
3204+
Get-ChildItem -Recurse -Path "$(Get-SwiftSDK Windows)\usr\lib\swift\android" -Filter "*.swiftinterface" | Remove-Item -Force | Out-Null
3205+
31983206
Invoke-BuildStep Build-Dispatch Android $Arch
31993207
Invoke-BuildStep Build-Foundation Android $Arch
32003208
Invoke-BuildStep Build-Sanitizers Android $Arch

0 commit comments

Comments
 (0)