Skip to content

Commit

Permalink
Correct version numbers for *-hedgehog packages (#2603)
Browse files Browse the repository at this point in the history
  • Loading branch information
christiaanb authored Nov 9, 2023
1 parent ec96cb7 commit fe787fb
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .ci/cabal.project.local
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ package *

package clash-prelude
ghc-options: -Werror
flags: +doctests +multiple-hidden -workaround-ghc-mmap-crash
flags: +doctests -workaround-ghc-mmap-crash
tests: True
benchmarks: True

Expand Down Expand Up @@ -48,7 +48,7 @@ package clash-lib-hedgehog
package clash-testsuite
ghc-options: -Werror
-- enable cosim
flags: +cosim +multiple-hidden -workaround-ghc-mmap-crash
flags: +cosim -workaround-ghc-mmap-crash

package clash-benchmark
ghc-options: -Werror
Expand Down
2 changes: 1 addition & 1 deletion clash-lib-hedgehog/clash-lib-hedgehog.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 2.2

name: clash-lib-hedgehog
version: 1.9.0
version: 1.8.0
synopsis: Hedgehog Generators for clash-lib
description: Hedgehog Generators for clash-lib
bug-reports: https://github.com/clash-lang/clash-compiler/issues
Expand Down
2 changes: 1 addition & 1 deletion clash-prelude-hedgehog/clash-prelude-hedgehog.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 2.2

name: clash-prelude-hedgehog
version: 1.9.0
version: 1.8.0
synopsis: Hedgehog Generators for clash-prelude
description: Hedgehog Generators for clash-prelude
bug-reports: https://github.com/clash-lang/clash-compiler/issues
Expand Down
7 changes: 7 additions & 0 deletions clash-prelude/src/Clash/Prelude/BlockRam.hs
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,13 @@ readNew (blockRam (0 :> 1 :> Nil))
... =>
Signal dom addr -> Signal dom (Maybe (addr, a)) -> Signal dom a
#elif __GLASGOW_HASKELL__ >= 906 && !defined(CLASH_MULTIPLE_HIDDEN)
>>> :t readNew (blockRam (0 :> 1 :> Nil))
readNew (blockRam (0 :> 1 :> Nil))
:: ...
... =>
Signal dom addr -> Signal dom (Maybe (addr, a)) -> Signal dom a
#else
>>> :t readNew (blockRam (0 :> 1 :> Nil))
readNew (blockRam (0 :> 1 :> Nil))
Expand Down
2 changes: 1 addition & 1 deletion tests/clash-testsuite.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ flag multiple-hidden
experimental feature, possibly triggering confusing error messages. By
default, it is enabled on development versions of Clash and disabled on
releases.
default: True
default: False
manual: True

flag workaround-ghc-mmap-crash
Expand Down

0 comments on commit fe787fb

Please sign in to comment.