cross compilation requirements #5311
Unanswered
avin-hailo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The documentation is a bit lacking about this... What variables should be set during cross compilation?
I'm using a cmake toolchain file and I found that the result library is using the native processor name, even though my toolchain file defined the following:
To combat that, I defined
set(PYTHON_MODULE_EXTENSION ...)
usingCMAKE_SYSTEM_PROCESSOR
Another issue is about python package. Is it enough to set
PYTHON_EXECUTABLE
? What should that value be when cross compling? I found that using the native (x64) python and cross compiling (aarch64) works - does that make sense?So, to summarize - what cmake variables should I pass for a complete cross compilation
Beta Was this translation helpful? Give feedback.
All reactions