From 7a0c736310e9d840b57fbdab87d8eb14ff4859b7 Mon Sep 17 00:00:00 2001 From: Wouter Ensink <46427708+w-ensink@users.noreply.github.com> Date: Tue, 4 Apr 2023 15:32:54 +0200 Subject: [PATCH] improved android onnx build script --- .gitignore | 7 ++++++- build-android-onnx-libs.sh | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 38b9869..e8b6801 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,9 @@ cmake-build-* *.wav *.mp3 -Cargo.lock \ No newline at end of file +Cargo.lock + +onnxruntime-libs +onnxruntime-libs.zip + +.DS_Store \ No newline at end of file diff --git a/build-android-onnx-libs.sh b/build-android-onnx-libs.sh index f733190..5b51cff 100755 --- a/build-android-onnx-libs.sh +++ b/build-android-onnx-libs.sh @@ -4,7 +4,7 @@ ANDROID_NDK_HOME="$HOME/Library/Android/sdk/ndk/25.2.9519653" ANDROID_SDK_PATH="$HOME/Library/Android/sdk" -ONNX_TARGET_DIR="$(pwd)/onnxruntime-libs/android" +ONNX_TARGET_DIR="$(pwd)/onnxruntime-libs/android/arm64-v8a" echo "using onnxruntime dir: $ONNX_REPO_DIR" echo "using sdk path: $ANDROID_SDK_PATH"