Skip to content

Commit

Permalink
Change native folder name for java macos arm64 (#12335)
Browse files Browse the repository at this point in the history
  • Loading branch information
snnn committed Jul 27, 2022
1 parent 148b1ef commit e6bb447
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/ci_build/github/linux/java_copy_strip_binary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ uname -a
echo "Version: $VERSION_NUMBER"
if [[ $LIB_NAME == *.dylib ]] && [[ $ARCH == 'osx-x86_64' ]]; then
ARCH='osx-x64'
elif [[ $LIB_NAME == *.dylib ]] && [[ $ARCH == 'osx-arm64' ]]; then
ARCH='osx-aarch64'
fi
NATIVE_FOLDER=ai/onnxruntime/native/$ARCH

Expand Down

0 comments on commit e6bb447

Please sign in to comment.