Skip to content

Commit

Permalink
Compile with GHC 9.
Browse files Browse the repository at this point in the history
  • Loading branch information
athas committed Mar 26, 2021
1 parent 7d2280d commit e411253
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Expand Up @@ -39,7 +39,7 @@ jobs:
run: |
sudo add-apt-repository ppa:hvr/ghc
sudo apt-get update
sudo apt-get install ghc-8.10.3
sudo apt-get install ghc-9.0.1
echo "/opt/ghc/bin" >> $GITHUB_PATH
- uses: actions/cache@v2
Expand All @@ -56,7 +56,7 @@ jobs:
cabal --version
ghc --version
cabal update
cabal install -w ghc-8.10.3 --install-method=copy --overwrite-policy=always
cabal install -w ghc-9.0.1 --install-method=copy --overwrite-policy=always
build-linux-stack:
runs-on: ubuntu-20.04
Expand Down
4 changes: 3 additions & 1 deletion cabal.project
@@ -1,5 +1,7 @@
packages: futhark.cabal
index-state: 2021-03-03T05:14:22Z
index-state: 2021-03-26T04:41:59Z

package futhark
ghc-options: -Werror -j

allow-newer: vector-binary-instances:base
2 changes: 1 addition & 1 deletion shell.nix
Expand Up @@ -10,7 +10,7 @@ pkgs.stdenv.mkDerivation {
pkgs.curl
pkgs.file
pkgs.git
pkgs.haskell.compiler.ghc8104
pkgs.haskell.compiler.ghc901
pkgs.haskellPackages.weeder
pkgs.hlint
pkgs.ocl-icd
Expand Down

0 comments on commit e411253

Please sign in to comment.