Skip to content

Conversation

@jmschonfeld
Copy link
Contributor

Explanation: Enables WMO in release builds
Scope: Should only impacts release builds for non-Windows
Original PR: #5059
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 for release builds

* Address feedback

* Fix build failures

* Don't enable WMO on Windows
@jmschonfeld jmschonfeld requested a review from itingliu August 9, 2024 21:57
@jmschonfeld jmschonfeld changed the title Enable WMO for release builds (#5059) [6.0] Enable WMO for release builds Aug 9, 2024
@jmschonfeld
Copy link
Contributor Author

swiftlang/swift-foundation#841

@swift-ci please test

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