all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#60733: python build systems does not support cross-compilation
@ 2023-01-11 16:43 Maxim Cournoyer
  0 siblings, 0 replies; only message in thread
From: Maxim Cournoyer @ 2023-01-11 16:43 UTC (permalink / raw)
  To: 60733

Hello,

Here's an example:

--8<---------------cut here---------------start------------->8---
$ guix build --target=aarch64-linux-gnu python-coverage

guix build: error: gnu/packages/check.scm:1997:2: python-coverage@5.2.1:
build system `python' does not support cross builds
--8<---------------cut here---------------end--------------->8---

Python byte compiled files are not architecture dependents, so nothing
is needed for them.  In some cases where C extensions are used,
setuptools or PEP 517 python build systems handle this transparently.

So it seems like we should be able to support cross-compiling Python
packages easily, which can be useful when building images containing
Python packages for embedded systems via cross-compilation.

Thoughts?

-- 
Thanks,
Maxim




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-11 16:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-11 16:43 bug#60733: python build systems does not support cross-compilation Maxim Cournoyer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.