Skip to content

[6.0][CMake] Enable package CMO if possible #2740

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 1 commit into from
Jul 20, 2024

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Jul 18, 2024

Cherry-pick #2736 into release/6.0

  • Explanation: Enable package CMO for swift-syntax libraries. swift-syntax libraries in the compiler are library-evolution enabled for reasons, but that is causing considerable slowness. Enable package CMO if the builder compiler support it.
  • Scope: swift-syntax
  • Risk: Mid. Package CMO is a new technology recently landed
  • Testing: Passes current test suite
  • Issue: Part of rdar://130478685
  • Reviewer: Ben Barham (@bnbarham)

Package cross-module-optimization allows non-resilient access between
modules as long as they share the same package name.

(cherry picked from commit 5a090ce)
@rintaro rintaro requested review from ahoppen and bnbarham as code owners July 18, 2024 22:27
@rintaro rintaro changed the title [CMake] Enable package CMO if possible [6.0][CMake] Enable package CMO if possible Jul 18, 2024
@rintaro
Copy link
Member Author

rintaro commented Jul 18, 2024

swiftlang/swift#75355
@swift-ci Please test

@rintaro
Copy link
Member Author

rintaro commented Jul 19, 2024

swiftlang/swift#75355
@swift-ci Please test Windows

@rintaro rintaro merged commit 6a4f5d8 into swiftlang:release/6.0 Jul 20, 2024
3 checks passed
rintaro added a commit that referenced this pull request Jul 29, 2024
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