Skip to content

Commit a215805

Browse files
cipolleschihuntie
authored andcommitted
[RN][iOS]Rename BUILD_FROM_SOURCE to RCT_BUILD_HERMES_FROM_SOURCE
1 parent e8e03a4 commit a215805

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ executors:
130130
xcode: *xcode_version
131131
resource_class: macos.x86.medium.gen2
132132
environment:
133-
- BUILD_FROM_SOURCE: true
133+
- RCT_BUILD_HERMES_FROM_SOURCE: true
134134

135135
# -------------------------
136136
# COMMANDS
@@ -1035,7 +1035,7 @@ jobs:
10351035
environment:
10361036
- HERMES_WS_DIR: *hermes_workspace_root
10371037
- HERMES_VERSION_FILE: "packages/react-native/sdks/.hermesversion"
1038-
- BUILD_FROM_SOURCE: true
1038+
- RCT_BUILD_HERMES_FROM_SOURCE: true
10391039
steps:
10401040
- run:
10411041
name: Install dependencies

packages/react-native/sdks/hermes-engine/hermes-engine.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ version = package['version']
1717

1818
# sdks/.hermesversion
1919
hermestag_file = File.join(react_native_path, "sdks", ".hermesversion")
20-
build_from_source = ENV['BUILD_FROM_SOURCE'] === 'true'
20+
build_from_source = ENV['RCT_BUILD_HERMES_FROM_SOURCE'] === 'true'
2121

2222
git = "https://github.com/facebook/hermes.git"
2323

packages/react-native/sdks/hermes-engine/hermes-utils.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def abort_if_invalid_tarball_provided!()
1717
# - To use a specific tarball, install the dependencies with:
1818
# `HERMES_ENGINE_TARBALL_PATH=<path_to_tarball> bundle exec pod install`
1919
# - To force a build from source, install the dependencies with:
20-
# `BUILD_FROM_SOURCE=true bundle exec pod install`
20+
# `RCT_BUILD_HERMES_FROM_SOURCE=true bundle exec pod install`
2121
# If none of the two are provided, Cocoapods will check whether there is a tarball for the current version
2222
# (either release or nightly). If not, it will fall back building from source (the latest commit on main).
2323
#

0 commit comments

Comments
 (0)