ghcup-hs icon indicating copy to clipboard operation
ghcup-hs copied to clipboard

Support ARM64 Linux Alpine

Open hasufell opened this issue 1 year ago • 6 comments

  • https://downloads.haskell.org/~ghc/9.8.2/ghc-9.8.2-aarch64-alpine3_18-linux.tar.xz

TODO:

  • build ghcup binary
  • build cabal binary
  • build HLS binaries (when supported)

hasufell avatar Feb 25 '24 10:02 hasufell

https://projectcatalyst.io/funds/12/cardano-open-developers/maintain-latest-aarch64-arm-compliant-static-binaries-for-cardano-spos-developers-and-users

hasufell avatar Jul 02 '24 03:07 hasufell

Just another note (but no pressure or expectation). I have added support to GHC's bindist testing for aarch64 alpine which is just waiting for ghcup binaries to be available.

https://gitlab.haskell.org/ghc/ghcup-ci/-/jobs/1927888

mpickering avatar Jul 08 '24 13:07 mpickering

We're in luck, there is a cabal-install in the alpine repos, so bootstrapping should be easier: https://pkgs.alpinelinux.org/package/edge/community/aarch64/cabal

hasufell avatar Jul 08 '24 17:07 hasufell

Hi, I was wondering what work remains to be done or what blockers remain for this. Is it the same as what's listed in the initial issue? Depending on the nature/extent of the work I may be able to contribute some time to it.

csasarak avatar Aug 14 '24 18:08 csasarak

All points remain. Cabal needs bootstrapping.

hasufell avatar Aug 14 '24 22:08 hasufell

This is mostly done now. The only thing that's missing is adjusting release CI:

  • [ ] https://github.com/haskell/ghcup-hs/blob/master/.github/workflows/release.yaml
  • [ ] https://github.com/stable-haskell/cabal/blob/cabal-install-v3.12.1.0/.github/workflows/release.yaml

hasufell avatar Aug 17 '24 11:08 hasufell

https://github.com/haskell/ghcup-hs/pull/1170

hasufell avatar Dec 05 '24 16:12 hasufell