Skip to content

Commit bafd0b9

Browse files
Add bounds and docs in the cabal file
1 parent 8ba403c commit bafd0b9

1 file changed

Lines changed: 17 additions & 12 deletions

File tree

haskell-perf.cabal

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,12 @@ build-type: Simple
2323
extra-doc-files:
2424
Changelog.md
2525
README.md
26-
dev/*.md
26+
dev/GhcFlags.md dev/Methods.md dev/README.md dev/ghc-work.md
2727
docs/*.md
28-
docs/threadCPUTime.hs
28+
examples/README.md
29+
30+
extra-source-files:
31+
examples/*.hs
2932

3033
source-repository head
3134
type: git
@@ -36,10 +39,10 @@ flag dev
3639
manual: True
3740
default: False
3841

39-
flag fusion-plugin
40-
description: Use fusion plugin for benchmarks and executables
41-
manual: True
42-
default: False
42+
-- flag fusion-plugin
43+
-- description: Use fusion plugin for benchmarks and executables
44+
-- manual: True
45+
-- default: False
4346

4447
-------------------------------------------------------------------------------
4548
-- Common stanzas
@@ -114,7 +117,9 @@ executable console-loop-multi-thread
114117
main-is: console-loop-multi-thread.hs
115118
build-depends:
116119
base >= 4.9 && < 5
117-
, unix
120+
, unix < 2.9
121+
if os(windows)
122+
buildable: False
118123

119124
executable hperf
120125
import: compile-options
@@ -124,9 +129,9 @@ executable hperf
124129
ghc-options: -O2 -fmax-worker-args=16 -fspec-constr-recursive=16
125130
build-depends:
126131
base >= 4.9 && < 5
127-
, containers
128-
, optparse-applicative
132+
, containers < 0.9
133+
, optparse-applicative < 0.20
129134
, streamly-core >= 0.3.0 && < 0.4
130-
, streamly-statistics
131-
, format-numbers
132-
, text
135+
, streamly-statistics < 0.3
136+
, format-numbers < 0.2
137+
, text < 2.2

0 commit comments

Comments
 (0)