Skip to content

Commit

Permalink
improved android onnx build script
Browse files Browse the repository at this point in the history
  • Loading branch information
w-ensink committed Apr 4, 2023
1 parent 022c5db commit 7a0c736
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,9 @@ cmake-build-*
*.wav
*.mp3

Cargo.lock
Cargo.lock

onnxruntime-libs
onnxruntime-libs.zip

.DS_Store
2 changes: 1 addition & 1 deletion build-android-onnx-libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7a0c736

Please sign in to comment.