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

Add aarch64-linux bindist CI job and mirroring logic #18

Merged
merged 2 commits into from
May 20, 2024

Conversation

TerrorJack
Copy link
Member

@TerrorJack TerrorJack commented May 19, 2024

Related: #15. The custom runner makima is a ubi8 container on my personal server.

It's a pity github runner doesn't officially support alpine yet (see actions/runner#801). I'm not interested in the workarounds out there, so might as well build our aarch64-linux bindists in a distro with reasonably old glibc and will still be actively supported for a while.

@TerrorJack TerrorJack marked this pull request as ready for review May 19, 2024 20:52
(,)
"wasm32-wasi-ghc-gmp-aarch64-linux"
BindistInfo
{ isGhcBindist = False,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only noticing this now: We currently can't set this to True for the GHA-built bindists for at least two reasons:

  • The GHA bindists use zstd instead of lzma, and the current ghc subdir logic only supports lzma (should be easy to fix).
  • GHA artifacts are wrapped in another .zip layer, so that would also have to be removed.

However, fixing this isn't a big priority; this mechanism was added in #6 mostly as convenient metadata for downstream consumers like ghcup.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's right. We should definitely remove the zip layer, though I believe this is better suited for a follow-up PR. As for zstd, it's largely my personal preference, we can also fix subdir logic for it later.

@TerrorJack TerrorJack merged commit 6798b88 into main May 20, 2024
2 checks passed
@TerrorJack TerrorJack deleted the aarch64-linux-bindist branch May 20, 2024 14:21
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.

None yet

2 participants