forked from clash-lang/clash-protocols
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cabal.project
26 lines (20 loc) · 859 Bytes
/
cabal.project
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
packages:
clash-protocols.cabal
tests: True
package clash-prelude
-- 'large-tuples' generates tuple instances for various classes up to the
-- GHC imposed maximum of 62 elements. This severely slows down compiling
-- Clash, and triggers Template Haskell bugs on Windows. Hence, we disable
-- it by default. This will be the default for Clash >=1.4.
flags: -large-tuples
source-repository-package
type: git
location: https://github.com/cchalmers/circuit-notation.git
tag: 19b386c4aa3ff690758ae089c7754303f3500cc9
package clash-protocols
-- Reduces compile times by ~20%
ghc-options: +RTS -qn4 -A128M -RTS -j4
-- Workaround for Haddock/CPP #if issues https://github.com/haskell/haddock/issues/1382
haddock-options: --optghc="-optP -P"
-- Don't pollute docs with large tuple instances
haddock-options: --optghc=-DHADDOCK_ONLY