Skip to content

Add Link time optimization #80

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

Open
wants to merge 2 commits into
base: 0.78.0-discord
Choose a base branch
from

Conversation

Szymon20000
Copy link

Summary:

Changelog:

Test Plan:

Copy link

@hannojg hannojg left a comment

Choose a reason for hiding this comment

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

This gives build errors for me, where its trying to use gold for linking which is not supported on macOS (so i suspect it might fail for other people / CI as well)

I think you had some other changes where you added it to the CMakeLists, so this is ideally what we want.

I just want to point out that Meta is saying here, that they already enable LTO for all react native targets:

however, if we really see gains with that (do you have numbers on that), then i think something might be broken with their setup

@Szymon20000
Copy link
Author

it was added later facebook@f107c28 not in 78

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