From 801952036b113f7d7f70aa3858a95f96a9078b84 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Mon, 10 Mar 2025 15:18:26 -0700 Subject: [PATCH] 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 --- utils/build.ps1 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/utils/build.ps1 b/utils/build.ps1 index 3047da38858aa..0e40f2fccc764 100644 --- a/utils/build.ps1 +++ b/utils/build.ps1 @@ -3162,6 +3162,10 @@ if (-not $SkipBuild) { # Build platform: SDK, Redist and XCTest Invoke-BuildStep Build-Runtime Windows $Arch + + # FIXME(swiftlang/swift#79839) + Get-ChildItem -Recurse -Path "$(Get-SwiftSDK Windows)\usr\lib\swift\windows" -Filter "*.swiftinterface" | Remove-Item -Force | Out-Null + Invoke-BuildStep Build-Dispatch Windows $Arch # FIXME(compnerd) ensure that the _build_ is the first arch and don't rebuild on each arch Invoke-BuildStep Build-FoundationMacros -Build Windows $BuildArch @@ -3195,6 +3199,10 @@ if (-not $SkipBuild) { # Build platform: SDK, Redist and XCTest Invoke-BuildStep Build-Runtime Android $Arch + + # FIXME(swiftlang/swift#79839) + Get-ChildItem -Recurse -Path "$(Get-SwiftSDK Windows)\usr\lib\swift\android" -Filter "*.swiftinterface" | Remove-Item -Force | Out-Null + Invoke-BuildStep Build-Dispatch Android $Arch Invoke-BuildStep Build-Foundation Android $Arch Invoke-BuildStep Build-Sanitizers Android $Arch