@@ -156,12 +156,18 @@ curl -sSL https://get.haskellstack.org/ | sh
156# Put documentation where we expect it
156# Put documentation where we expect it
157mv /opt/ghc/$GHCVER/share/doc/ghc-$GHCVER/ /opt/ghc/$GHCVER/share/doc/ghc
157mv /opt/ghc/$GHCVER/share/doc/ghc-$GHCVER/ /opt/ghc/$GHCVER/share/doc/ghc
159−# llvm-5.0 for llvm-hs (separate since it needs wget)
159+# llvm-5.0 for GHC (separate since it needs wget)
160wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - \
160wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - \
161 && add-apt-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0 main" \
161 && add-apt-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0 main" \
162 && apt-get update \
162 && apt-get update \
163 && apt-get install -y llvm-5.0
163 && apt-get install -y llvm-5.0
165+# llvm-6.0 for llvm-hs (separate since it needs wget)
166+wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - \
167+ && add-apt-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-6.0 main" \
169+ && apt-get install -y llvm-6.0
165# Buggy versions of ld.bfd fail to link some Haskell packages:
171# Buggy versions of ld.bfd fail to link some Haskell packages:
166# https://sourceware.org/bugzilla/show_bug.cgi?id=17689. Gold is
172# https://sourceware.org/bugzilla/show_bug.cgi?id=17689. Gold is
167# faster anyways and uses less RAM.
173# faster anyways and uses less RAM.