Implement True Cross-Compilation Support

Open
#63 5 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
docker, python
Domain
build-system

Research direction

Read issues #74 (target-compatible runtime staging) and #78 (explicit base/platform selection) first, since this work depends on both, and check #28 for overlap. Then trace where the builder currently sets platform metadata without performing a real cross-build, and identify the image-assembly step that would need QEMU or native ARM64 handling. Done means a multi-arch build actually produces a runnable target-architecture image, demonstrated with a native dependency in that runtime.

Written by the indexing model from the issue text.

Description

agent:blocked enhancement high-priority platform priority:p1 release:v0.5.0 squad:sindri type:feature

Description

Complete the cross-compilation support to actually build for different architectures, not just set metadata.

Current State

Currently sets platform metadata but doesn't perform actual cross-compilation.

Proposed Implementation

  • Integrate with cross-compilation tools
  • Support QEMU for emulation
  • Native ARM64 builds
  • Platform-specific base image selection

Use Cases

  • Building ARM64 images on x86_64 machines
  • CI/CD multi-platform builds
  • Apple Silicon support

Priority

High - Critical for modern cloud deployments.

Parent: #47

Maintenance refresh: 2026-11-19

Prerequisites: importable target-compatible runtime staging #74 and explicit base/platform selection #78. Distinguish target-wheel selection, source compilation and optional emulation. Demonstrate native dependency behavior in the target runtime. Candidate duplicate #28 remains open.

Dominant language
Python
Stars
10
Forks
1
Avg merge
1d 19h
Merged PRs (30d)
129

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from spboyer/pycontainer-build

All issues in spboyer/pycontainer-build

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.