Skip to content

[cmake] Add support for building the swift stdlib with LTO. #36570

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

Conversation

gottesmm
Copy link
Contributor

This is controlled with the option SWIFT_STDLIB_ENABLE_LTO=thin|full.

This is controlled with the option SWIFT_STDLIB_ENABLE_LTO=thin|full.
@gottesmm
Copy link
Contributor Author

@swift-ci test

@gottesmm
Copy link
Contributor Author

NOTE: This just handles the cmake part. There is a bunch of issues still with how we are doing this and in fact this will not work without some patches I have out of tree. But the right flags get to the right places with this one.

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 24f6c79

@gottesmm
Copy link
Contributor Author

@swift-ci test linux platform

@gottesmm gottesmm merged commit 209878f into swiftlang:main Mar 26, 2021
@gottesmm gottesmm deleted the pr-bb21aa718f0576a56298e737b1282bf7727788aa branch March 26, 2021 19:41
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