Pains as a user on ARM64 and/or Android #3125
mentalisttraceur
started this conversation in
General
Replies: 1 comment 1 reply
-
We already enable arm64/aarch64 Windows build by default in generated github actions file: Line 106 in 1e5d362
Can't help much here as non-Android user. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is mostly information about some downstream user frustrations, and a couple vague thoughts about what y'all might be able to do to help.
My only experience with
maturinis as a user -- for the past several years, if I runpip install ...and there's an error, it's always somehow mentioning Maturin.In the common case on x86-64 CPUs, it works great -- never seen an issue on my laptops or any servers I work on (WSL2 on Windows, or various Linux VMs in the cloud).
But ARM64 is becoming more common on laptops and servers. In those cases, if the project didn't package ARM64 wheels, there might not be a rustc installed, so
pip installwill fail, and then the user has to figure out that they need to install Rust, rerunpip install, and wait while it seems to hang because it's downloading and building a bunch of crates.And I also use
pip installjust as much or more on my phones (in Termux on Android). Usually, this works perfectly, because for most purposes, Termux on Android is just Linux and most things don't need to care -- Python just works, ARM64 Linux wheels just work, C/C++ libs compile fine, Rust crates compile fine. But now most recently Maturin has started seemingly assuming that I'm trying to compile an Android app, so now I'm forced to export anANDROID_API_VERSIONjust to install packages that have nothing Android-specific in them.My point is basically two things:
Is there anything Maturin can do to cause/encourage projects to build ARM64 wheels in addition to x86-64? ARM64 is becoming more common in servers and laptops.
Just please keep in mind that you might be running on Android rather then building for Android, because some people use Android more like a Linux computer.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions