Skip to content

Commit

Permalink
restore changes
Browse files Browse the repository at this point in the history
  • Loading branch information
piaskowyk committed Nov 14, 2024
1 parent c2bf3c5 commit ab6bd36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ buildscript {
// This is used as part of the Hermes build process
hermesC = ""
for (f in [
"${hermesHostBuild}/build/ImportHostCompilers.cmake",
"${hermesHostBuild}/build_release/ImportHostCompilers.cmake"]) {
"${hermesHostBuild}/build/ImportHermesc.cmake",
"${hermesHostBuild}/build_release/ImportHermesc.cmake"]) {
if(file(f).exists()) hermesC = f;
}
assert hermesC != "" : "Hermes host build not found"
Expand Down
5 changes: 1 addition & 4 deletions utils/build-apple-framework.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ function configure_apple_framework {
-DHERMES_ENABLE_TOOLS:BOOLEAN="$build_cli_tools" \
-DIMPORT_HERMESC:PATH="$PWD/build_host_hermesc/ImportHermesc.cmake" \
-DCMAKE_INSTALL_PREFIX:PATH=../destroot \
-DCMAKE_BUILD_TYPE="$BUILD_TYPE" \
-DIMPORT_HOST_COMPILERS="$PWD/build_host_hermesc/ImportHostCompilers.cmake"
-DCMAKE_BUILD_TYPE="$BUILD_TYPE"
}

# Utility function to build an Apple framework
Expand All @@ -106,8 +105,6 @@ function build_apple_framework {
# the architectures into an universal folder and then remove
# the merged frameworks from destroot
function create_universal_framework {
mkdir destroot/bin
cp build_host_hermesc/bin/{hermes,hermesc,hermes-lit} ./destroot/bin

cd ./destroot/Library/Frameworks || exit 1

Expand Down

0 comments on commit ab6bd36

Please sign in to comment.