Skip to content

Add support for -lto_library linker flag #745

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 2 commits into from
Jul 15, 2021

Conversation

jslegendre
Copy link
Contributor

Allow users to specify a particular LTO library on Darwin.

Allow users to specify a particular LTO library on Darwin.
@jslegendre
Copy link
Contributor Author

@swift-ci please test
@owenv

Copy link
Contributor

@artemcm artemcm left a comment

Choose a reason for hiding this comment

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

This change looks good to me, thank you @jslegendre.

Please make sure that the Options.swift file is generated using the automated procedure described here:
https://github.com/apple/swift-driver#rebuilding-optionsswift

@artemcm
Copy link
Contributor

artemcm commented Jul 6, 2021

@swift-ci please test

@artemcm
Copy link
Contributor

artemcm commented Jul 6, 2021

@swift-ci please test

@jslegendre
Copy link
Contributor Author

@artemcm Apologies for the oversight. Should be all set now. The relevant PR which adds this flag to Options.td is still open here swiftlang/swift#38264

@jslegendre
Copy link
Contributor Author

@artemcm Anything else I should do now the tests have passed?

@jslegendre
Copy link
Contributor Author

swiftlang/swift#38264 has been merged. This should be good to go.

@artemcm
Copy link
Contributor

artemcm commented Jul 15, 2021

@swift-ci please test

@artemcm artemcm merged commit 80c70a4 into swiftlang:main Jul 15, 2021
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