forked from crytic/echidna
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
141 lines (131 loc) · 2.63 KB
/
package.yaml
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
name: echidna
author: Trail of Bits <[email protected]>
maintainer: Trail of Bits <[email protected]>
version: 2.2.4
ghc-options:
- -O2
- -Wall
- -fno-warn-orphans
- -feager-blackholing
# https://github.com/haskell/cabal/issues/4739
- -optP-Wno-nonportable-include-path
- -fspecialize-aggressively
- -fexpose-all-unfoldings
- -Wunused-packages
dependencies:
- aeson
- base
- containers
- directory
- hevm
- MonadRandom
- mtl
- text
language: GHC2021
default-extensions:
- DataKinds
- DuplicateRecordFields
- LambdaCase
- MultiWayIf
- NoFieldSelectors
- OverloadedLabels
- OverloadedRecordDot
- OverloadedStrings
library:
source-dirs: lib/
dependencies:
- ansi-terminal
- async
- base16-bytestring
- binary
- brick
- bytestring
- data-bword
- data-dword
- deepseq
- exceptions
- extra
- filepath
- hashable
- html-conduit
- html-entities
- http-conduit
- ListLike
- optics
- optics-core
- process
- random
- rosezipper
- semver
- signal
- split
- strip-ansi-escape
- time
- unliftio
- utf8-string
- vector
- vty
- vty-crossplatform
- wai-extra
- warp
- word-wrap
- xml-conduit
- yaml
executables:
echidna:
main: Main.hs
source-dirs: src/
dependencies:
- code-page
- echidna
- filepath
- hashable
- optparse-applicative
- time
- with-utf8
ghc-options:
- -threaded
- '"-with-rtsopts=-A64m -N"'
when:
- condition: (os(linux) || os(windows)) && flag(static)
ghc-options:
- -optl-static
- condition: os(linux) || os(windows)
ghc-options:
- -O2
- -optl-pthread
- condition: os(darwin)
ld-options: -Wl,-keep_dwarf_unwind
ghc-options: -fcompact-unwind
tests:
echidna-testsuite:
main: Spec.hs
source-dirs: src/test
dependencies:
- data-dword
- echidna
- exceptions
- optics-core
- process
- semver
- split
- tasty
- tasty-hunit
- tasty-quickcheck
- yaml
when:
- condition: (os(linux) || os(windows)) && flag(static)
ghc-options:
- -optl-static
- condition: os(linux) || os(windows)
ghc-options:
- -O2
- -optl-pthread
- condition: os(darwin)
ld-options: -Wl,-keep_dwarf_unwind
ghc-options: -fcompact-unwind
flags:
static:
description: Pass -static to ghc when linking the stack binary.
manual: true
default: false