Hi,

Lars-Dominik Braun <[email protected]> writes:

> Hi,
>
>> I have a question about the python build systems,
>> has there been any work on supporting cross compilation in them?
>
> yes, but I don’t know what the current status is: 
> https://issues.guix.gnu.org/60847

The change has two things combined into one, per the cover letter:

--8<---------------cut here---------------start------------->8---
This change enables cross-compilation for the pyproject-build-system, at the
same time paving the way to fix the longstanding bug #25235 (Wrapped python
programs get native-inputs in PYTHONPATH), by keeping the distinction between
native and host (regular) inputs even when not cross-compiling.  A unified
builder is used, which departs from the other build systems (which use one
builder for the native build and another one for the cross build, where
implemented).
--8<---------------cut here---------------end--------------->8---

Some hack I had used to allow for a unified builder for
the python build systems only was rejected, but that you should be able
to extract the bits needed for getting the cross-compilation to work and
fit them into a more classic, distinct, cross-compilation builder.

Consulting what is done in buildroot or Yocto was useful, so you may
want to refresh the current strategy used there.

-- 
Thanks,
Maxim

Reply via email to