Skip to content

[6.0] Enable WMO #841

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
Aug 10, 2024
Merged

[6.0] Enable WMO #841

merged 1 commit into from
Aug 10, 2024

Conversation

jmschonfeld
Copy link
Contributor

Explanation: Enables WMO in release builds
Scope: Should only impacts release builds for non-Windows
Original PR: #832
Risk: Minimal - enables WMO as a performance optimization, behavior should not change
Testing: Testing done via swift-ci testing and local testing
Reviewer: @glessard

* Enable whole-module-optimization in release builds

* Address feedback

* Fix build failures

* Don't enable WMO on Windows
@jmschonfeld jmschonfeld requested a review from itingliu August 9, 2024 21:56
@jmschonfeld
Copy link
Contributor Author

@swift-ci please test

@jmschonfeld jmschonfeld merged commit 1b79d86 into swiftlang:release/6.0 Aug 10, 2024
3 checks passed
@jmschonfeld jmschonfeld deleted the 6.0/wmo branch August 10, 2024 01:43
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