Important
26/11/2024
This repository is no longer maintained. Please use tttapa/python-dev instead.
Cross-compiles a basic version of Python (without most dependencies and without PGO or LTO) to link against when cross-compiling Python extension modules.
Download the compiled binaries from the Releases page.
Docker containers are available from the Packages page. They are Ubuntu containers with the following additions:
- GCC 12.2 cross-compilation toolchain (
/opt/x-tools/<host-triple>
) - Native Python installation (
/usr/local/python
) - Cross-compiled Python installation (
/opt/<host-triple>/python-<version>
) - CMake, py-build-cmake, and Conan configuration files (
/opt/<host-triple>/{cmake,conan}
)