Skip to content

[Bug] Runtime Cross Compile Broken After The FFI Refactor #18052

Open
@Johnson9009

Description

@Johnson9009

In Arm China, we are migrating the old work to the newest code, recently the FFI refactor introduce lots of changes in very low level infrastructure, now only the cython way is supported, there isn't ctypes, when cross compile the AArch64 TVM runtime for RPC server on X86 machine, I found:

  1. set USE_LIBBACKTRACE to OFF in config.cmake don't work
  2. the core.cpython-xxx.so isn't built automatically
  3. excute the "python3 setup.py built_ext" command manually will create a X86 core.cpython-xxx.so

Is there any way now can do the cross compile for the core.cpython-xxx.so?

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triagePRs or issues that need to be investigated by maintainers to find the right assignees to address ittype: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions