-
Notifications
You must be signed in to change notification settings - Fork 1
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 aarch64 build #3
Conversation
Added a few more changes:
See the actions and releases in the source repo for examples of how this might look. |
Thanks for the contribution. I am not sure what is the purpose of this PR though. Does the project not already builds on Is the only reason to switch to I'd really like to avoid depending on |
It does build on aarch64 already, yeah. This is more about providing pre-built releases for distro packaging.
|
I don't know of any distro that uses pre-built binaries from upstream in its main packages, actually for the same reason against Upstream provides the source, downstream builds binaries, that is usually how Linux packaging work. |
Right -- I should specify that the AUR was what I had in mind. It's a bit special since it does pull upstream binaries for packages suffixed with |
I see. I made a Maybe you should try building from a VM under aarch64 running Arch, so you would get faster build times (at least with many cores), and no need for cross compilation so you can use dynamic linking for libc and the TLS stack (which would make a smaller binary). Anyway I don't think this repository is the right place to host or build such binaries. |
Fair enough -- it's your package to maintain. I'll close this PR but I don't see a way to submit contributions to your AUR package (let me know if that's not the case though). Will you add the |
You can just comment on https://aur.archlinux.org/packages/gotify-desktop/
Sure, would this be enough to build on
|
Yep -- that patch works great! |
This PR adds an aarch64 build (works great on the pinephone!).
However, the
actions-rs/cargo
action uses cross which doesn't include openssl by default (resulting in errors such as rust-embedded/cross#510); because of that, I've switched thenative-tls
package out forrustls
. I'm no rust expert but it works on both x86 and aarch64.