From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 60733@debbugs.gnu.org
Subject: bug#60733: python build systems does not support cross-compilation
Date: Wed, 11 Jan 2023 11:43:14 -0500 [thread overview]
Message-ID: <87r0w1hvj1.fsf@gmail.com> (raw)
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
reply other threads:[~2023-01-11 16:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r0w1hvj1.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=60733@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.