Skip to content

Hermes: Use prepare-hermes-for-build in CocoaPods#33825

Closed
hramos wants to merge 3 commits into
facebook:mainfrom
hramos:export-D36336633
Closed

Hermes: Use prepare-hermes-for-build in CocoaPods#33825
hramos wants to merge 3 commits into
facebook:mainfrom
hramos:export-D36336633

Conversation

@hramos
Copy link
Copy Markdown
Contributor

@hramos hramos commented May 12, 2022

Summary:
Updates the CocoaPods build scripts to consume the prepare-hermes-for-build script, replacing the now redundant set of Ruby code that would previously set the filesystem up.

Changelog:

[iOS] [Changed] - When building Hermes from source, the filesystem will now be prepared using the new hermes-utils.js scripts, outside of CocoaPods

Reviewed By: cortinico

Differential Revision: D36336633

hramos added 3 commits May 12, 2022 14:09
Differential Revision: D36329356

fbshipit-source-id: 6cf918642812d756c28880d75b5bfee8e9d07481
Summary: Adds a script that uses the new hermes-utils.js functions to prepare the local filesystem for Hermes to be built from source (e.g. download the Hermes source code tarball and extract it into its final location).

Differential Revision: D36334624

fbshipit-source-id: 40a524cc20bfc643b337784d9b585e9b4473203a
Summary:
Updates the CocoaPods build scripts to consume the prepare-hermes-for-build script, replacing the now redundant set of Ruby code that would previously set the filesystem up.

Changelog:

[iOS] [Changed] - When building Hermes from source, the filesystem will now be prepared using the new hermes-utils.js scripts, outside of CocoaPods

Reviewed By: cortinico

Differential Revision: D36336633

fbshipit-source-id: d953eb5f9a64c3a1f94e959f58e7369aceb69e8a
@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. p: Facebook Partner: Facebook Partner fb-exported labels May 12, 2022
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@react-native-bot react-native-bot added the Platform: iOS iOS applications. label May 12, 2022
@analysis-bot
Copy link
Copy Markdown

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 7,789,984 +2
android hermes armeabi-v7a 7,193,520 +4
android hermes x86 8,099,850 -1
android hermes x86_64 8,078,972 +14
android jsc arm64-v8a 9,662,651 +0
android jsc armeabi-v7a 8,434,958 +0
android jsc x86 9,613,123 +0
android jsc x86_64 10,209,421 +0

Base commit: 58bc981
Branch: main

@analysis-bot
Copy link
Copy Markdown

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

Base commit: 58bc981
Branch: main

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @hramos in aaa01f7.

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 May 13, 2022
fortmarek pushed a commit that referenced this pull request May 20, 2022
Summary:
Pull Request resolved: #33825

Updates the CocoaPods build scripts to consume the prepare-hermes-for-build script, replacing the now redundant set of Ruby code that would previously set the filesystem up.

Changelog:

[iOS] [Changed] - When building Hermes from source, the filesystem will now be prepared using the new hermes-utils.js scripts, outside of CocoaPods

Reviewed By: cortinico

Differential Revision: D36336633

fbshipit-source-id: a4506db80c039529b14b0290d2f0b54fae78dcf2
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 Platform: iOS iOS applications.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants