I want to work on this feature, but I need more info on how the cross-compilation support for this should look like:
- User input:
- Specify a
cmake.toolchain pointing to the CMake toolchain file created for the specific cross-compilation target
- Specify the
wheel.py-api for the target python environment
- Do we need also a
wheel.arch to overwrite the archs part specifically in WheelTag?
- Passing the appropriate Python hints:
- Do we rely on some tool like
crossenv to provide the location of the target python headers?
- Do we rely on the CMake toolchain to be built such that it provides the appropriate hints to find the target python?
- Would build-isolation get in our way and should we gate it by being in a specific setup?
- How/what combo to test?
- We could use the
gcc cross-compilers for the tests, unless there are other recommended ways to do it?
- Typical use-case would be android and embedded afaik, should we add something testing those specifically?
I want to work on this feature, but I need more info on how the cross-compilation support for this should look like:
cmake.toolchainpointing to the CMake toolchain file created for the specific cross-compilation targetwheel.py-apifor the target python environmentwheel.archto overwrite thearchspart specifically inWheelTag?crossenvto provide the location of the target python headers?gcccross-compilers for the tests, unless there are other recommended ways to do it?