Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build-script: Invoke Foundation macros build separately #75816

Merged
merged 3 commits into from
Aug 12, 2024

Conversation

jmschonfeld
Copy link
Contributor

This adds a separate CMake invocation to build Foundation macros for each toolchain host. Additionally, it updates the Foundation build to build using the Foundation macros build for the local host so that when cross-compiling for a separate host the macro library builds for the destination host but Foundation uses the local host's macro library for building itself.

@jmschonfeld
Copy link
Contributor Author

swiftlang/swift-foundation#714

@swift-ci please smoke test

@jmschonfeld
Copy link
Contributor Author

swiftlang/swift-foundation#714

@swift-ci please build toolchain Linux platform

@jmschonfeld
Copy link
Contributor Author

swiftlang/swift-foundation#714

@swift-ci please smoke test

@jmschonfeld
Copy link
Contributor Author

swiftlang/swift-foundation#714

@swift-ci please build toolchain Linux platform

@jmschonfeld
Copy link
Contributor Author

I've confirmed in the build logs that libFoundationMacros.so is successfully loaded as part of the FoundationEssentials build and it is also correctly installed into the produced toolchain

@jmschonfeld jmschonfeld requested a review from compnerd August 11, 2024 18:36
@compnerd compnerd merged commit 1c985ba into swiftlang:main Aug 12, 2024
4 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.

2 participants