Skip to content

[6.4] Adopt inMemorySwiftSDK run destination API#10013

Merged
owenv merged 1 commit into
swiftlang:release/6.4.xfrom
owenv:owenv/config
May 14, 2026
Merged

[6.4] Adopt inMemorySwiftSDK run destination API#10013
owenv merged 1 commit into
swiftlang:release/6.4.xfrom
owenv:owenv/config

Conversation

@owenv
Copy link
Copy Markdown
Contributor

@owenv owenv commented May 1, 2026

Depends on swiftlang/swift-build#1361

Instead of directly passing an SDK manifest path to the low level build system, pass an in-memory representation via new run destination API. This ensures:

  • Customizations made via swift sdk configure are respected
  • the lower levels of the build stack don't need to know how to marshal the various older versions of the metadata format

Fixes: #10012

Comment thread Sources/SwiftBuildSupport/SwiftBuildSystem.swift Outdated
@finagolfin
Copy link
Copy Markdown
Member

I'll try this out locally and report back. We'll need to decide the exact semantics of applying the various toolset paths too, which I'm investigating now.

@owenv owenv changed the base branch from main to release/6.4.x May 11, 2026 18:00
@owenv owenv changed the title Adopt inMemorySwiftSDK run destination API [6.4] Adopt inMemorySwiftSDK run destination API May 11, 2026
@owenv
Copy link
Copy Markdown
Contributor Author

owenv commented May 11, 2026

@swift-ci test

@finagolfin
Copy link
Copy Markdown
Member

GitHub CI failing because they check out main and the associated swift-build pull has not been pulled back into main yet. Check if the linux CI works, as it should check out the right branch.

@swift-ci test linux

@owenv
Copy link
Copy Markdown
Contributor Author

owenv commented May 13, 2026

@swift-ci test

@owenv
Copy link
Copy Markdown
Contributor Author

owenv commented May 13, 2026

@swift-ci test

@owenv
Copy link
Copy Markdown
Contributor Author

owenv commented May 13, 2026

@swift-ci test Windows

@owenv
Copy link
Copy Markdown
Contributor Author

owenv commented May 13, 2026

@swift-ci test macOS

@owenv owenv merged commit 290b19e into swiftlang:release/6.4.x May 14, 2026
85 of 86 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[SwiftBuild] swift sdk configure settings are not used for cross-compilation

4 participants