Open phadej opened 1 year ago
If my multi-arch (linux/amd64
, linux/arm64/v8
) glcr.b-data.ch/ghc/ghc-musl
docker image was used to build hlint, this project could provide statically linked binaries for both Linux/x86_64 and Linux/AArch64.
Cross references:
Happy to take patches to https://github.com/ndmitchell/hlint/blob/master/.github/workflows/release.yml. I'm not a Linux user, but this does sound desirable.
I'm not a Linux user
I am not a GitHub user :wink:.
I build my own multi-arch (linux/amd64
, linux/arm64/v8
) docker images containing the statically linked hlint
executable at /usr/local
now.
This, to copy the latest executable from said docker images into my multi-arch (linux/amd64
, linux/arm64/v8
) GHC musl Dev Containers.
From https://github.com/haskell-CI/haskell-ci/pull/666
For that reason, I build
cabal-docspec
andcabal-plan
etc on alpine linux with--enable-executable-static
(see e.g. https://github.com/haskell-hvr/cabal-plan/blob/master/Makefile)