-
Notifications
You must be signed in to change notification settings - Fork 17
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
Issues cross-compiling for Nerves #41
Comments
It also reproduces if you:
|
Confirmed that it the issue exists on 1.10.0 which is current latest :) |
It seems weird that the log output indicates the TARGET to be x86. |
I think this tracks, I'm guessing it has to do with there not being a path in I may poke at this over the holidays if I can find the time 😉 |
Would love it if you can :) |
The initial problem is not the libonnxruntime. The initial problem is the TLS library for the HTTP client. I think I fixed it:
The important bits are I added the libonnxruntime, not sure that helped:
But not it builds with warnings. But Nerves detects a real problem:
I will check if I just need to clean up something in my project but I suspect ortex needs a hint to build for ARM. |
Make sure we have the aarch64 target that exists in ortex's
The error is then in cross-compilation fun-time land:
My guess is that it is using my local |
You may need to set |
I believe those should be set but I'm not sure they survive Rustler -> Cargo and friends. |
Abelino is our savior and found a config that worked: Goes in your
|
I have a public example Nerves firmware repo here: abelino/ortex_fw. For those interested in the details, Nerves also updates the |
Relevant output log:
Error seems to be:
This? briansmith/ring#2009
The text was updated successfully, but these errors were encountered: