ci: add aarch64-unknown-linux-gnu target to release builds#1998
Open
Cyrah2R wants to merge 3 commits into
Open
ci: add aarch64-unknown-linux-gnu target to release builds#1998Cyrah2R wants to merge 3 commits into
Cyrah2R wants to merge 3 commits into
Conversation
Author
|
Hi Eric, Thank you! I just pushed a new commit updating docs/support-tiers.md. I noticed there was a small typo (aarch- instead of aarch64-) for the Ubuntu (ARM) targets in the Tier 1B sections, so I went ahead and corrected it across all three components to match the official aarch64-unknown-linux-gnu target we are using for the release. Let me know if everything looks good! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds support for automatically building and releasing
aarch64-unknown-linux-gnubinaries for Linux.With the growing adoption of ARM-based cloud instances (AWS Graviton, Oracle Cloud, etc.), having pre-compiled
aarch64releases will save users from having to install the Rust toolchain on their production servers just to compilec2patool.Changes made
.github/workflows/release.yml: Added theaarch64target to the release matrix and included a step to installgcc-aarch64-linux-gnufor cross-compilation on the Ubuntu runner. Passed theARCH=aarch64flag to themake releasecommand when needed.cli/Makefile: Updated the Linux release targets to check for theARCH=aarch64flag. If present, it adds the appropriate rustup target, uses the aarch64 linker, and packages the tarball with the correct_linux_aarch64naming convention so it doesn't conflict with the Intel build.Closes #1997