on master help sign in
First stab at using ghc-8.2.1
fa19ef3Dan Burton
.travis.yml+1−1
@@ -11,7 +11,7 @@ addons:
11 - libgmp-dev
11 - libgmp-dev
12
12
13env:
13env:
14−- GHCVER=8.0.2
14+- GHCVER=8.2.1
15
15
16install:
16install:
17 # Download and unpack the stack executable
17 # Download and unpack the stack executable
build-constraints.yaml+1−1
@@ -1,4 +1,4 @@
1−ghc-major-version: "8.0"
1+ghc-major-version: "8.2"
2
2
3# This affects which version of the Cabal file format we allow. We
3# This affects which version of the Cabal file format we allow. We
4# should ensure that this is always no greater than the version
4# should ensure that this is always no greater than the version
debian-bootstrap.sh+4−4
@@ -25,7 +25,7 @@ add-apt-repository -y --keyserver hkp://keyserver.ubuntu.com:80 'deb http://down
25add-apt-repository -y --keyserver hkp://keyserver.ubuntu.com:80 'deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main'
25add-apt-repository -y --keyserver hkp://keyserver.ubuntu.com:80 'deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main'
26add-apt-repository -y --keyserver hkp://keyserver.ubuntu.com:80 'deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main'
26add-apt-repository -y --keyserver hkp://keyserver.ubuntu.com:80 'deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main'
27
27
28−GHCVER=8.0.2
28+GHCVER=8.2.1
29
29
30apt-get update
30apt-get update
31apt-get install -y \
31apt-get install -y \
@@ -156,9 +156,9 @@ update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.bfd" 10
156# This version is tracked here:
156# This version is tracked here:
157# https://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/Backends/LLVM/Installing
157# https://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/Backends/LLVM/Installing
158#
158#
159−# GHC 8.0 requires LLVM 3.7 tools (specifically, llc-3.7 and opt-3.7).
159+# GHC 8.2 requires LLVM 3.9 tools (specifically, llc-3.9 and opt-3.9).
160−update-alternatives --install "/usr/bin/llc" "llc" "/usr/bin/llc-3.7" 50
160+update-alternatives --install "/usr/bin/llc" "llc" "/usr/bin/llc-3.9" 50
161−update-alternatives --install "/usr/bin/opt" "opt" "/usr/bin/opt-3.7" 50
161+update-alternatives --install "/usr/bin/opt" "opt" "/usr/bin/opt-3.9" 50
162
162
163# install ocilib dependencies then build and install ocilib
163# install ocilib dependencies then build and install ocilib
164cd /tmp \
164cd /tmp \