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.
commit90cb03edb514782ef149e0a9b57a4d3063cc7e47
authorMoritz Kiefer <moritz.kiefer@purelyfunctional.org>
dateWed 11 Sep 2019, 20:36 (7 years ago)
parenta5e54b6
build-constraints.yaml−4
@@ -4826,10 +4826,6 @@ packages:
48264826 # https://github.com/commercialhaskell/stackage/issues/4809
48274827 - elm-street < 0.1
48284828
4829− # https://github.com/commercialhaskell/stackage/issues/4812
4830− - llvm-hs < 9
4831− - llvm-hs-pure < 9
4832−
48334829 # https://github.com/commercialhaskell/stackage/issues/4816
48344830 - trifecta < 2.1
48354831
debian-bootstrap.sh+6
@@ -165,6 +165,12 @@ curl https://packages.microsoft.com/config/debian/9/prod.list > /etc/apt/sources
165165apt-get update
166166ACCEPT_EULA=Y apt-get install msodbcsql17 -y
167167
168+# llvm for llvm-hs
169+curl https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
170+add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main"
171+apt-get update
172+apt-get install llvm-9-dev -y
173+
168174locale-gen en_US.UTF-8
169175
170176# Buggy versions of ld.bfd fail to link some Haskell packages: