Skip to content

Commit

Permalink
Use Hermes Engine from CocoaPods and fix Circle CI (#33478)
Browse files Browse the repository at this point in the history
Summary:
Undoing the recent change that enabled Hermes to be built from source by default.
Building Hermes from source now requires the use of the  BUILD_HERMES_SOURCE envvar, again.

To be re-enabled shortly.

Pull Request resolved: #33478

Changelog: [Internal]

Reviewed By: cortinico

Differential Revision: D35100459

fbshipit-source-id: ec83fcdf2432c689b0c02f86fbabcc8625975d51
  • Loading branch information
hramos authored and facebook-github-bot committed Mar 25, 2022
1 parent 05b0d29 commit 8237ff2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/react_native_pods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,12 @@ def use_react_native! (options={})

if hermes_enabled
pod 'React-hermes', :path => "#{prefix}/ReactCommon/hermes"
hermes_source_path = downloadAndConfigureHermesSource(prefix)
pod 'hermes-engine', :path => "#{hermes_source_path}/hermes-engine.podspec"
if ENV['BUILD_HERMES_SOURCE'] == '1'
hermes_source_path = downloadAndConfigureHermesSource(prefix)
pod 'hermes-engine', :path => "#{hermes_source_path}/hermes-engine.podspec"
else
pod 'hermes-engine', '~> 0.11.0'
end
pod 'libevent', '~> 2.1.12'
end

Expand Down

0 comments on commit 8237ff2

Please sign in to comment.