Skip to content

Commit 3ed050a

Browse files
Move to GHC 8.10
1 parent fb0547e commit 3ed050a

File tree

6 files changed

+13
-25
lines changed

6 files changed

+13
-25
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,6 @@
2020
after_script:
2121
- tar -cf - $(ls -d /root/.cabal /root/.stack /nix || true) | zstd -T0 -3 > cache.tar.zstd
2222

23-
.common-806:
24-
extends: .common
25-
image: docker.pkg.github.com/clash-lang/clash-protocols/protocols-focal-ghc-cabal-stack-8.6.5:2020-12-07
26-
variables:
27-
GHC_VERSION: "8.6.5"
28-
CABAL_VERSION: "3.2.0.0"
29-
3023
.common-810:
3124
extends: .common
3225
image: docker.pkg.github.com/clash-lang/clash-protocols/protocols-focal-ghc-cabal-stack-8.10.2:2020-12-07
@@ -44,14 +37,12 @@ haddock:
4437
script:
4538
- .ci/build_docs.sh
4639

47-
# Circuit-notation is broken on 810.
48-
# https://github.com/cchalmers/circuit-notation/pull/8#issuecomment-739844352
49-
cabal-8.6.5:
50-
extends: .common-806
40+
cabal-8.10.2:
41+
extends: .common-810
5142
script:
5243
- .ci/test_cabal.sh
5344

5445
stack:
55-
extends: .common-806
46+
extends: .common-810
5647
script:
5748
- .ci/test_stack.sh

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

cabal.project

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
packages:
22
clash-protocols.cabal
3-
deps/circuit-notation/circuit-notation.cabal
43

54
package clash-prelude
65
-- 'large-tuples' generates tuple instances for various classes up to the
@@ -9,6 +8,11 @@ package clash-prelude
98
-- it by default. This will be the default for Clash >=1.4.
109
flags: -large-tuples
1110

11+
source-repository-package
12+
type: git
13+
location: https://github.com/cchalmers/circuit-notation.git
14+
tag: 0fe897cb95bd1be87abed044f4072f104dec2f7d
15+
1216
source-repository-package
1317
type: git
1418
location: https://github.com/martijnbastiaan/haskell-hedgehog.git

clash-protocols.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ common common-options
8383

8484
default-language: Haskell2010
8585
build-depends:
86-
-- GHC >= 8.6
87-
base >= 4.12.0.0,
86+
-- GHC >= 8.10
87+
base >= 4.14.0.0,
8888
Cabal,
8989

9090
-- clash-prelude will set suitable version bounds for the plugins

deps/circuit-notation

Lines changed: 0 additions & 1 deletion
This file was deleted.

stack.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
1-
resolver: lts-14.27
1+
resolver: nightly-2020-12-14
22

33
packages:
44
- .
5-
- deps/circuit-notation
65

76
extra-deps:
8-
- ghc-typelits-extra-0.4@sha256:e1ba4ebf14cb7025dd940380dfb15db444f7e8bced7e30bdad6e1707f0af7622,4813
9-
- ghc-typelits-knownnat-0.7.2@sha256:63054c8108f21a4bc5ace477227476b72a4e3792f35f37f2d406eef262ae4346,4711
10-
- ghc-typelits-natnormalise-0.7.2@sha256:0fc48a3744aa25e5e53a054a8bb1fe6410752e497f446d75db9bd67bb258d05e,3495
11-
- clash-prelude-1.2.5@sha256:2ea4d0506adfccd0e817a67e47de132290a856535dd69bcc71e7fbce24ece3f2,15307
127
- git: https://github.com/martijnbastiaan/haskell-hedgehog.git
138
commit: 41e87d110d3b2b7b522d29d7c0500672f2640dcc
149
subdirs:
1510
- hedgehog
11+
- git: https://github.com/cchalmers/circuit-notation.git
12+
commit: 0fe897cb95bd1be87abed044f4072f104dec2f7d
1613

1714
flags:
1815
clash-prelude:

0 commit comments

Comments
 (0)