Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add compatibility in java ext for arm64 #679

Closed
github-gauthier-perrod opened this issue Mar 25, 2024 · 1 comment
Closed

Add compatibility in java ext for arm64 #679

github-gauthier-perrod opened this issue Mar 25, 2024 · 1 comment

Comments

@github-gauthier-perrod
Copy link

github-gauthier-perrod commented Mar 25, 2024

We don't check linux system for arm64 architecture in java-ext:

https://github.com/microsoft/onnxruntime-extensions/blob/main/cmake/ext_java.cmake#L98-L99

It could be very easy to correc this by adding those two lines just below:

elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64") set(JNI_ARCH aarch64)

I've tested in on linux arch64 architecture machine and it worked well

@wenbingl
Copy link
Member

wenbingl commented Apr 8, 2024

thanks for the suggestion, I have created a PR for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants