-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcabal.project
More file actions
104 lines (93 loc) · 2.86 KB
/
cabal.project
File metadata and controls
104 lines (93 loc) · 2.86 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
-- SPDX-FileCopyrightText: 2022 Google LLC
--
-- SPDX-License-Identifier: CC0-1.0
packages:
bittide-cpus/
bittide-experiments/
bittide-extra/
bittide-instances/
bittide-shake/
bittide-tools/
bittide/
clash-bitpackc/
clash-protocols-memmap/
gdb-hs/
ghc-typelits-extra-lemmas/
vivado-hs/
write-ghc-environment-files: always
-- index state, to go along with the cabal.project.freeze file. update the index
-- state by running `cabal update` twice and looking at the index state it
-- displays to you (as the second update will be a no-op)
index-state: 2026-04-14T11:58:08Z
tests: True
package bittide
-- Tweak haddock stylesheet to enable word wrapping of types.
-- We specify the default Linuwial theme as an alternate
-- so we're able to import its css file from the custom theme.
haddock-options: --theme=linuwial-wrap-types.css --theme=Linuwial
package zlib
flags: +pkg-config
-- Reduces build times by ~10%, but triggers a bug in haskell-language-server:
-- https://github.com/haskell/haskell-language-server/issues/4595
--package *
-- ghc-options: +RTS -A64M -RTS
semaphore: true
jobs: $ncpus
-- We need an up-to-date Clash and libraries. Among other features, this adds
-- support for dynamic clocks and Xilinx primitive support.
source-repository-package
type: git
location: https://github.com/clash-lang/clash-compiler.git
tag: 0d87621bd55c258245726b879a6bb6d0d903e75c
subdir:
clash-prelude
clash-ghc
clash-lib
clash-prelude-hedgehog
source-repository-package
type: git
location: https://github.com/clash-lang/clash-shockwaves.git
tag: 5118d35c74b69ff712c2b7f6e7829662ab0adc78
subdir:
shockwaves
source-repository-package
type: git
location: https://github.com/clash-lang/clash-cores.git
tag: 59118b1369ebdb3df424931c500e1a92567fdaac
source-repository-package
type: git
location: https://github.com/clash-lang/clash-protocols.git
tag: 65848ad7ca3d6c27dd9e0c0b722edc760c2ea3c2
subdir:
clash-protocols
clash-protocols-base
source-repository-package
type: git
location: https://github.com/clash-lang/clash-vexriscv.git
tag: 6fdc1330813db7cde61bf181223bf3a44792697d
subdir:
clash-vexriscv
source-repository-package
type: git
location: https://github.com/cchalmers/circuit-notation.git
tag: a99969b79df6752532792fd30482b83cf3285f52
-- Allow us to load multiple packages into a REPL session at once. For example:
--
-- cabal repl bittide bittide:unittests
--
-- Can also be used in combination with ghcid:
--
-- ghcid -c cabal repl bittide bittide:unittests
--
-- Note that it is not limited to units from the same Cabal file:
--
-- cabal repl bittide bittide:unittests bittide-instances bittide-instance:unittests
--
-- Finally, we maintain a script that loads _all_ development packages:
--
-- repld
--
-- This is also usable in combination with ghcid:
--
-- ghcid -c repld
multi-repl: True