Skip to content

Cross-compilation support #1041

Description

@LecrisUT

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions