-
Notifications
You must be signed in to change notification settings - Fork 8
/
cabal.project
37 lines (28 loc) · 1.18 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
packages:
./clash-protocols-base
./clash-protocols
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-base
-- 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
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