Skip to content

Commit 211fa7f

Browse files
SaadnajmiCopilot
andcommitted
fix: set CMAKE_BUILD_TYPE when building host hermesc
Pass the existing BUILD_TYPE value into the host hermesc CMake configure step. Hosted prebuild CI otherwise stops at Hermes CMake configuration because CMAKE_BUILD_TYPE is unset. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 98e4b51 commit 211fa7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/react-native/sdks/hermes-engine/utils/build-apple-framework.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function get_mac_deployment_target {
6161
function build_host_hermesc {
6262
echo "Building hermesc"
6363
pushd "$HERMES_PATH" > /dev/null || exit 1
64-
cmake -S . -B build_host_hermesc -DJSI_DIR="$JSI_PATH"
64+
cmake -S . -B build_host_hermesc -DJSI_DIR="$JSI_PATH" -DCMAKE_BUILD_TYPE="$BUILD_TYPE" # [macOS]
6565
cmake --build ./build_host_hermesc --target hermesc -j "${NUM_CORES}"
6666
popd > /dev/null || exit 1
6767
}

0 commit comments

Comments
 (0)