[GHC] #14502: Build Alpine Linux binary distributions
GHC
ghc-devs at haskell.org
Sun May 13 19:12:31 UTC 2018
#14502: Build Alpine Linux binary distributions
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner: bgamari
Type: task | Status: new
Priority: normal | Milestone: 8.6.1
Component: Continuous | Version: 8.2.1
Integration |
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: 14057 | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by mitchty):
Note, for 8.4.2 or anything using llvm as the backend, you'll need to
adjust the llvm-targets like so:
https://github.com/alpinelinux/aports/pull/4255/commits/adc976d03f8101300f2f4d73b782859edb4b3c1f
#diff-8ac9400d01cb6d2dd0f7486ac80d2ec4R103
Basically:
sed -i -e 's/unknown-linux-gnueabihf/alpine-linux/g' llvm-targets
sed -i -e 's/unknown-linux-gnueabi/alpine-linux/g' llvm-targets
sed -i -e 's/unknown-linux-gnu/alpine-linux/g' llvm-targets
The llvm triples that are in place for alpine linux are different from the
defaults expected. Most other changes for alpine linux have been merged
upstream into ghc so the base source is mostly there.
I remember asking in the ghc irc channel that depending on the llvm
triples should go away entirely. I'd be all for that in this case for 8.6!
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14502#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list