Skip to content

Commit

Permalink
--enable_lto \
Browse files Browse the repository at this point in the history
  • Loading branch information
jchen351 committed Jul 22, 2024
1 parent ecfa1bf commit 58b7b5f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion js/react_native/e2e/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ platform :ios, '13.0'
target 'OnnxruntimeModuleExample' do
config = use_native_modules!

use_react_native!(:path => config["reactNativePath"])
if config["reactNativePath"] != nil
use_react_native!(:path => config["reactNativePath"])
else
use_react_native!(:path => '../node_modules/react-native/')
end

use_frameworks!

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ stages:
- script: |
python3 tools/ci_build/build.py \
--enable_lto \
--android \
--build_dir build_nnapi \
--android_sdk_path $ANDROID_HOME \
Expand Down Expand Up @@ -208,6 +209,7 @@ stages:

- script: |
python3 tools/ci_build/build.py \
--enable_lto \
--android \
--build_dir build_nnapi \
--android_sdk_path $ANDROID_HOME \
Expand Down

0 comments on commit 58b7b5f

Please sign in to comment.