-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathstack.yaml
32 lines (25 loc) · 882 Bytes
/
stack.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
# Note: stack tracing setup:
# 1. disable strict impl params plugin in package.yaml
# 2. enable profiling here
# 3. stack clean, stack build
# 4. customize-group > haskell > haskell-interactive > stack ghci args
# add the following args
# --ghci-options="-fexternal-interpreter"
# --ghci-options="-prof"
# --ghci-options="-fprof-auto-calls"
# 5. reload ghci
# NOTE: compiled cctt doesn't work in backtrace mode! It segfaults for
# who knows what reason.
resolver: lts-21.9
packages:
- .
ghc-options:
"$everything": -split-sections
# build:
# library-profiling: true
# executable-profiling: true
extra-deps:
- git: https://github.com/AndrasKovacs/ghc-strict-implicit-params.git
commit: fdef75e73c3354bd39b641e6b452b7087839e09b
- git: https://github.com/AndrasKovacs/primdata
commit: 488d38201d0845a0e4e9e80ce78126ebae77350f