Skip to content

Enable WMO for release builds #5059

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 4 commits into from
Aug 9, 2024
Merged

Enable WMO for release builds #5059

merged 4 commits into from
Aug 9, 2024

Conversation

jmschonfeld
Copy link
Contributor

This enables whole module optimization for Foundation, FoundationNetworking, and FoundationXML for release builds. We've found that this added optimization results in a significant performance improvements for FoundationEssentials (swiftlang/swift-foundation#832) and will be applying the same optimization to the SCL-F suite of libraries

@jmschonfeld
Copy link
Contributor Author

swiftlang/swift-foundation#832

@swift-ci please test

Copy link
Contributor

@glessard glessard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🏎️

@jmschonfeld
Copy link
Contributor Author

swiftlang/swift-foundation#832

@swift-ci please test

@jmschonfeld
Copy link
Contributor Author

swiftlang/swift-foundation#832

@swift-ci please test

@jmschonfeld
Copy link
Contributor Author

swiftlang/swift-foundation#832

@swift-ci please test Windows platform

@jmschonfeld
Copy link
Contributor Author

swiftlang/swift-foundation#832

@swift-ci please test

@jmschonfeld
Copy link
Contributor Author

swiftlang/swift-foundation#832

@swift-ci please test Windows platform

1 similar comment
@jmschonfeld
Copy link
Contributor Author

swiftlang/swift-foundation#832

@swift-ci please test Windows platform

@jmschonfeld jmschonfeld merged commit 0d18916 into swiftlang:main Aug 9, 2024
2 of 3 checks passed
@jmschonfeld jmschonfeld deleted the wmo branch August 9, 2024 21:54
jmschonfeld added a commit to jmschonfeld/swift-corelibs-foundation that referenced this pull request Aug 9, 2024
* Enable whole-module-optimization for release builds

* Address feedback

* Fix build failures

* Don't enable WMO on Windows
kateinoigakukun pushed a commit to kateinoigakukun/swift-corelibs-foundation that referenced this pull request Aug 23, 2024
* Enable whole-module-optimization for release builds

* Address feedback

* Fix build failures

* Don't enable WMO on Windows
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