Skip to content

Add compiler flag for the new Arch when enabled. - #35672

Closed
cipolleschi wants to merge 1 commit into
react:mainfrom
cipolleschi:export-D42131287
Closed

Add compiler flag for the new Arch when enabled.#35672
cipolleschi wants to merge 1 commit into
react:mainfrom
cipolleschi:export-D42131287

Conversation

@cipolleschi

Copy link
Copy Markdown
Contributor

Summary:
While working on some example, I discovered that the helper function install_module_dependencies was not adding the proper -DRCT_NEW_ARCH_ENABLED=1 flag to the compiler flags.

Changelog:

[iOS][Fixed] - Make sure to add the New Arch flag to libraries

Differential Revision: D42131287

Summary:
While working on some example, I discovered that the helper function `install_module_dependencies` was not adding the proper `-DRCT_NEW_ARCH_ENABLED=1` flag to the compiler flags.
## Changelog:
[iOS][Fixed] - Make sure to add the New Arch flag to libraries
Differential Revision: D42131287
fbshipit-source-id: f6eb077b38c3e55af75ef771a1aa09ca2f498cdc
@facebook-github-botfacebook-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. p: Facebook Partner: Facebook Partner fb-exported labels Dec 18, 2022
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@analysis-bot

Copy link
Copy Markdown
PlatformEngineArchSize (bytes)Diff
androidhermesarm64-v8a8,471,045+2,929
androidhermesarmeabi-v7a7,790,371+2,558
androidhermesx868,946,071+2,848
androidhermesx86_648,803,393+3,059
androidjscarm64-v8a9,656,818+0
androidjscarmeabi-v7a8,389,929+0
androidjscx869,720,822+0
androidjscx86_6410,198,308+0

Base commit: 76a1445
Branch: main

@analysis-bot

Copy link
Copy Markdown
PlatformEngineArchSize (bytes)Diff
ios-universaln/a--

Base commit: 76a1445
Branch: main

@pull-bot

Copy link
Copy Markdown

PR build artifact for 972d6a6 is ready.
To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

@pull-bot

Copy link
Copy Markdown

PR build artifact for 972d6a6 is ready.
To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request has been merged in ef11e15.

@facebook-github-botfacebook-github-bot added the Merged This PR has been merged. label Dec 19, 2022
cipolleschi added a commit that referenced this pull request Dec 19, 2022
Summary:
Pull Request resolved: #35672
While working on some example, I discovered that the helper function `install_module_dependencies` was not adding the proper `-DRCT_NEW_ARCH_ENABLED=1` flag to the compiler flags.
## Changelog:
[iOS][Fixed] - Make sure to add the New Arch flag to libraries
Reviewed By: jacdebug
Differential Revision: D42131287
fbshipit-source-id: 68c492150ba4e4a2ec726b3e8b8a9c7842b543bc
@cipolleschicipolleschi mentioned this pull request Oct 11, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BugCLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.fb-exportedMergedThis PR has been merged.p: FacebookPartner: FacebookPartnerPlatform: iOSiOS applications.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@cipolleschi@facebook-github-bot@analysis-bot@pull-bot@react-native-bot