-
Notifications
You must be signed in to change notification settings - Fork 108
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
add linux/aarch64 support. #326
Conversation
- use cache for linux
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, Thanks!
Very nice! In #148 I did an earlier attempt using |
Basically, "armv7" is for Raspberry Pi OS (32-bit), while "aarch64" is for Raspberry Pi OS (64-bit). The 64-bit OS for Raspberry Pi has been available for about two years and can be used with Raspberry Pi 3B models and newer. https://www.raspberrypi.com/news/raspberry-pi-os-64-bit/ Since it is built for the aarch64 architecture, it may not run on 32-bit OS environments on the same hardware. I've added information about my verification results to the PR description. I also attempted cross-compiling for armv7, but I decided to skip it this time because the latest manylinux only supports aarch64 (manylinux2014_armv7l seems to be the last one). While it is possible to build for armv7 by downloaing compilers from somewhere (ARM, linaro, ...) for cross-compile, the generalizability of the build results is quite uncertain in that case. |
Thanks a lot! |
Could we please have a release of the version after this patch was merged? I'd like to use it for validation in the Raspberry Pi environment. |
I think we can backport this to the v0.18 branch and tag v0.18.1.3, what do you think @rajveermalviya ? |
Created release tag: v0.18.1.2...v0.18.1.3 |
This PR adds configurations to create binary files for arm64 architecture, which are necessary for platforms like Raspberry Pi. The build process takes approximately 30-40 minutes due to the use of QEMU. Currently, I am testing the functionality using Raspberry Pi 4 and wgpu-py, and so far, it seems that the library loading is successful.
You can use the artifacts in the CD from the following link. Feel free to use it for testing as needed.
/~https://github.com/dskkato/wgpu-native/releases/tag/v0.18.1.3
Verified environments:
Related to #142