-
Notifications
You must be signed in to change notification settings - Fork 105
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 build for linux-arm7 #148
Conversation
Good news and bad news :) The generated library seems to load fine on a RPi4. Unfortunately it fails with:
The referenced wgpu-core code (at the commit matching the used binary): For reference, I first updated the Vulkan drivers with |
Might be worth another try with the wgpu-core-bump (i.e. rebasing this branch). |
1cf279d
to
b43dfd8
Compare
I rebased, triggered a CD build on my fork, and added the binaries to the v0.11.0.1 release. I'll try again next week. |
I rebased, build the binaries, and added them to the v0.14.2.3 release. I then tested on a raspberry pi 4. Unfortunately:
Also:
So it looks like the glibc version that the binaries are build against are too new. Does anyone know how to make the compile build against an earlier version of glibc? Would selecting an older Ubuntu host machine work? |
Closing, since we have support for 64bit ARM Linux via #326, and the way this PR is stuck seems hard to fix. |
Todo:
I'm not very familiar with all the different architectures that Rust can build, but from what I understood, armv7 is a good target if one wants to support e.g. Raspberry Pi (versions 2/3/4) . This architecture is 32bit, so a better name would be arm32 or maybe armv7. Thoughts? Also, would this binary run on aarch64 machines (which is armv8, IIUC)?
The CD build on my fork: https://github.com/almarklein/wgpu-native/actions/runs/1589649623
Some links that helped me find the right tweaks: