Skip to content
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

CI: Build ubuntu-24.04-arm binaries #60

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

RyanGlScott
Copy link
Contributor

This adds CI jobs that build Ubuntu 24.04 binaries for arm64 in addition to x86-64. This leverages the newly added GitHub Actions runners for arm64 Ubuntu (see https://github.blog/changelog/2025-01-16-linux-arm64-hosted-runners-now-available-for-free-in-public-repositories-public-preview/).

Fixes #50. This is built on top of the changes from #56 (and therefore this supersedes #56).

Mysteriously, GitHub Actions' Ubuntu 22.04 runners have `libreadline-dev`
installed by default, but their Ubuntu 24.04 runners do not, which causes `abc`
to fail to build on Ubuntu 24.04 runners. Let's make sure to install
`libreadline-dev` explicitly to ensure that it is always available for `abc`'s
benefit.
This backports a fix for a CVC4 issue (described in
cvc5/cvc5#10591), which causes bash-5.2 (which Ubuntu
24.04 uses) to spuriously replace uses of ampersands (&) in text replacement.
This patch was accumulated from the following CVC5 pull requests:

* cvc5/cvc5#9233
* cvc5/cvc5#9330
* cvc5/cvc5#9338

Previously, these changes were also included as part of
`patches/cvc4-win64-native.patch` (which is only applied on Windows), but we
now split these changes out into a separate patch so that Ubuntu 24.04 can make
use of them.
One of the key motivators for doing so is that building `bitwuzla-0.3.0` on
AArch64 Ubuntu 24.04 (see #50) yields a broken binary that cannot even run
`problems/multi_dist.smt2`.
This adds CI jobs that build Ubuntu 24.04 binaries for arm64 in addition to
x86-64. This leverages the newly added GitHub Actions runners for arm64 Ubuntu
(see
https://github.blog/changelog/2025-01-16-linux-arm64-hosted-runners-now-available-for-free-in-public-repositories-public-preview/).

Fixes #50.
@RyanGlScott RyanGlScott force-pushed the T50-ubuntu-arm branch 2 times, most recently from a500f67 to 748e693 Compare March 5, 2025 16:38
@RyanGlScott RyanGlScott marked this pull request as ready for review March 5, 2025 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ARM64 Linux builds
1 participant