Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyoxidizer can’t find target Python distribution on ARM #361

Open
linkmauve opened this issue Jan 25, 2021 · 3 comments
Open

pyoxidizer can’t find target Python distribution on ARM #361

linkmauve opened this issue Jan 25, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@linkmauve
Copy link

Here is the build log: pyoxidizer cargo test

When running cargo test --bin pyoxidizer --release, most tests fail due to it not finding the default Python distribution for armv7-unknown-linux-gnueabihf, apparently.

This is running on a Nintendo Switch running ArchLinuxARM, in an AArch32 chroot. I haven’t tested in AArch64 yet but I assume the outcome will be similar.

@wkschwartz
Copy link
Contributor

PyOxidizer does not yet have built in support for arm. See https://pyoxidizer.readthedocs.io/en/stable/packaging_python_distributions.html#available-python-distributions

@indygreg indygreg added the enhancement New feature or request label Feb 27, 2021
@indygreg
Copy link
Owner

The good news is that a bit of work has gone into python-build-standalone recently and its cross-compiling story is rapidly maturing. We have support for producing macOS aarch64 distributions now.

Unfortunately, we don't yet have support for Linux ARM devices. This is on my long list of things to get working. There is a PR against python-build-standalone that introduces cross-compiling ARM support. But it needs some work before it can merge.

If I could chat with someone who is knowledgeable about the state of cross-compiling on ARM, it might help move things along. I don't know basic things like what's considered the ideal Linux environment for cross-compiling. I see tools like https://github.com/dockcross/dockcross but don't know if these cross-compiling environments are considered production quality!

@chsasank
Copy link

Hey, any update on this? Linux ARM machines are getting fairly popular.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants