Install LLVM 9.0 in the docker image and upgrade llvm-hs

fixes #4812

I’m very sorry for the broken earlier attempt in #4813. This time I’ve
built the full docker image and did the `stack unpack; stack build …`
dance in the docker image so hopefully I didn’t screw it up again.
This commit is contained in:
Moritz Kiefer 2019-09-11 20:36:47 +02:00
parent a5e54b6f55
commit 90cb03edb5
2 changed files with 6 additions and 4 deletions

View File

@ -4826,10 +4826,6 @@ packages:
# https://github.com/commercialhaskell/stackage/issues/4809
- elm-street < 0.1
# https://github.com/commercialhaskell/stackage/issues/4812
- llvm-hs < 9
- llvm-hs-pure < 9
# https://github.com/commercialhaskell/stackage/issues/4816
- trifecta < 2.1

View File

@ -165,6 +165,12 @@ curl https://packages.microsoft.com/config/debian/9/prod.list > /etc/apt/sources
apt-get update
ACCEPT_EULA=Y apt-get install msodbcsql17 -y
# llvm for llvm-hs
curl https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main"
apt-get update
apt-get install llvm-9-dev -y
locale-gen en_US.UTF-8
# Buggy versions of ld.bfd fail to link some Haskell packages: