/
sealchain-tools-post-mortem.cabal
104 lines (100 loc) · 3.6 KB
/
sealchain-tools-post-mortem.cabal
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
name: sealchain-tools-post-mortem
version: 0.0.1
synopsis: Sealchain - post-mortem tool
description: Sealchain - post-mortem tool
license: MIT
license-file: LICENSE
maintainer: operations@iohk.io
copyright: 2018 SEAL
category: Currency
build-type: Simple
extra-source-files: README.md
cabal-version: >=1.10
-- Note: for components that we don't want to build, we add both "buildable:
-- False" *and* wrap build-depends into "if !flag(for-installer)". This is
-- because stack doesn't seem to take "buildable: False" into account when
-- calculating the build plan.
Flag for-installer
default: False
manual: True
description: Build a reduced set of components (only what is needed for the
installer)
executable sealchain-post-mortem
hs-source-dirs: src
main-is: Main.hs
other-modules: JSONLog
, Options
, Statistics
, Statistics.Block
, Statistics.Chart
, Statistics.CSV
, Statistics.Focus
, Statistics.Graph
, Statistics.MemPool
, Statistics.Report
, Statistics.Throughput
, Statistics.Tx
, Types
, Util.Aeson
, Util.Pipes
, Util.Safe
if !flag(for-installer)
buildable: True
build-depends: Chart
, Chart-diagrams
, MonadRandom
, aeson
, attoparsec
, base
, bytestring
, sealchain-infra
, sealchain-util
, containers
, cassava
, directory
, fgl
, filepath
, foldl
, graphviz
, optparse-applicative
, pipes
, pipes-bytestring
, pipes-interleave
, pipes-safe
, process
, random
, text
, time-units
, universum >= 0.1.11
else
buildable: False
default-language: Haskell2010
ghc-options: -threaded
-Wall
-O2
-- linker speed up for linux
if os(linux)
ghc-options: -optl-fuse-ld=gold
ld-options: -fuse-ld=gold
default-extensions: DeriveDataTypeable
DeriveGeneric
GeneralizedNewtypeDeriving
StandaloneDeriving
FlexibleContexts
FlexibleInstances
MultiParamTypeClasses
FunctionalDependencies
DefaultSignatures
NoImplicitPrelude
OverloadedStrings
TypeApplications
TupleSections
ViewPatterns
LambdaCase
MultiWayIf
ConstraintKinds
UndecidableInstances
ScopedTypeVariables
ScopedTypeVariables
BangPatterns
MonadFailDesugaring