Skip to content

[CMake] Build macro plugin and plugin servers as a package #76130

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

Merged
merged 2 commits into from
Aug 29, 2024

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Aug 28, 2024

Build swift-syntax libraries in lib/swift/host, macro plugin libraries, and plugin servers as a single package "Toolchain"
This enables CMO between them.

@rintaro
Copy link
Member Author

rintaro commented Aug 28, 2024

swiftlang/swift-syntax#2828
@swift-ci Please smoke test

@rintaro rintaro requested a review from bnbarham August 28, 2024 19:45
@rintaro rintaro force-pushed the cmake-package-name-toolchain branch 2 times, most recently from a72a93a to b8da9d5 Compare August 28, 2024 19:52
@rintaro
Copy link
Member Author

rintaro commented Aug 28, 2024

swiftlang/swift-syntax#2828
@swift-ci Please smoke test

@rintaro
Copy link
Member Author

rintaro commented Aug 28, 2024

swiftlang/swift-syntax#2828
@swift-ci Please smoke test Windows

Build 'lib/swift/host' libraries and linking binaries as a single
"package" instead of buillding the linking binaries with
"prefer-interface" hack.
This enables CMO between them.
@rintaro rintaro force-pushed the cmake-package-name-toolchain branch from b8da9d5 to 371dfe8 Compare August 28, 2024 22:03
@rintaro
Copy link
Member Author

rintaro commented Aug 28, 2024

swiftlang/swift-syntax#2828
@swift-ci Please smoke test

@rintaro
Copy link
Member Author

rintaro commented Aug 29, 2024

swiftlang/swift-syntax#2828
@swift-ci Please smoke test

@rintaro rintaro merged commit 0ad185a into swiftlang:main Aug 29, 2024
3 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