Skip to content

Enable ICF and LTO (#720)#33560

Closed
neildhar wants to merge 3 commits into
facebook:mainfrom
neildhar:export-D35344254
Closed

Enable ICF and LTO (#720)#33560
neildhar wants to merge 3 commits into
facebook:mainfrom
neildhar:export-D35344254

Conversation

@neildhar
Copy link
Copy Markdown
Contributor

@neildhar neildhar commented Apr 3, 2022

Summary: Pull Request resolved: facebook/hermes#720

Differential Revision: D35344254

@neildhar neildhar requested a review from hramos as a code owner April 3, 2022 21:03
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported p: Facebook Partner: Facebook Partner labels Apr 3, 2022
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D35344254

@pull-bot
Copy link
Copy Markdown

pull-bot commented Apr 3, 2022

Messages
📖

📋 Missing Changelog - Can you add a Changelog? To do so, add a "## Changelog" section to your PR description. A changelog entry has the following format: [CATEGORY] [TYPE] - Message.

DetailsCATEGORY may be:
  • General
  • iOS
  • Android
  • JavaScript
  • Internal (for changes that do not need to be called out in the release notes)

TYPE may be:

  • Added, for new features.
  • Changed, for changes in existing functionality.
  • Deprecated, for soon-to-be removed features.
  • Removed, for now removed features.
  • Fixed, for any bug fixes.
  • Security, in case of vulnerabilities.

MESSAGE may answer "what and why" on a feature level. Use this to briefly tell React Native users about notable changes.

Generated by 🚫 dangerJS against aaf8274

@analysis-bot
Copy link
Copy Markdown

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: 472d531
Branch: main

neildhar added 3 commits April 3, 2022 16:09
Differential Revision: D35342731

fbshipit-source-id: 62abf45668e6363b8beeda04b18e710653e51ad6
Differential Revision: D35347444

fbshipit-source-id: 0143557a5b938ce21717c03e55e93174bd206afe
Summary:
Turn on ICF for the build whenever it is available. This requires us to
link with LLD, which is only the default starting in NDK r23, so
manually specify LLD for the Android build.

Also turn on LTO for the CircleCI build, so we generate highly
optimised binaries for distribution.

X-link: facebook/hermes#720

Differential Revision: D35344254

fbshipit-source-id: 0030d17c1ce326ef603b952d3b44330782e51d55
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D35344254

facebook-github-bot pushed a commit to facebook/hermes that referenced this pull request Apr 5, 2022
Summary:
X-link: facebook/react-native#33560
Pull Request resolved: #720

Turn on ICF for the build whenever it is available. This requires us to
link with LLD, which is only the default starting in NDK r23, so
manually specify LLD for the Android build.

Also turn on LTO for the CircleCI build, so we generate highly
optimised binaries for distribution.

Changelog: [Internal]

Reviewed By: jpporto

Differential Revision: D35344254

fbshipit-source-id: 64b37e6a7817a7b7826cc7480468367b95d63c61
@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @neildhar in 6f26a92.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added the Merged This PR has been merged. label Apr 5, 2022
Saadnajmi pushed a commit to Saadnajmi/react-native-macos that referenced this pull request Jan 15, 2023
Summary:
Pull Request resolved: facebook#33560
X-link: facebook/hermes#720

Turn on ICF for the build whenever it is available. This requires us to
link with LLD, which is only the default starting in NDK r23, so
manually specify LLD for the Android build.

Also turn on LTO for the CircleCI build, so we generate highly
optimised binaries for distribution.

Changelog: [Internal]

Reviewed By: jpporto

Differential Revision: D35344254

fbshipit-source-id: 64b37e6a7817a7b7826cc7480468367b95d63c61
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants