diff --git a/js/react_native/e2e/ios/Podfile b/js/react_native/e2e/ios/Podfile index d31a6f50221fb..b5620dc714a8f 100644 --- a/js/react_native/e2e/ios/Podfile +++ b/js/react_native/e2e/ios/Podfile @@ -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! diff --git a/tools/ci_build/github/azure-pipelines/android-x86_64-crosscompile-ci-pipeline.yml b/tools/ci_build/github/azure-pipelines/android-x86_64-crosscompile-ci-pipeline.yml index 2d0c2619d284c..0e6aa9851d237 100644 --- a/tools/ci_build/github/azure-pipelines/android-x86_64-crosscompile-ci-pipeline.yml +++ b/tools/ci_build/github/azure-pipelines/android-x86_64-crosscompile-ci-pipeline.yml @@ -150,6 +150,7 @@ stages: - script: | python3 tools/ci_build/build.py \ + --enable_lto \ --android \ --build_dir build_nnapi \ --android_sdk_path $ANDROID_HOME \ @@ -208,6 +209,7 @@ stages: - script: | python3 tools/ci_build/build.py \ + --enable_lto \ --android \ --build_dir build_nnapi \ --android_sdk_path $ANDROID_HOME \