-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrio-process-pool.cabal
More file actions
180 lines (169 loc) · 4.07 KB
/
rio-process-pool.cabal
File metadata and controls
180 lines (169 loc) · 4.07 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
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
cabal-version: 3.0
name: rio-process-pool
version: 1.0.1
description: Please see the README on GitHub at <https://github.com/sheyll/rio-process-pool#readme>
synopsis: A library for process pools coupled with asynchronous message queues
homepage: https://github.com/sheyll/rio-process-pool#readme
bug-reports: https://github.com/sheyll/rio-process-pool/issues
author: Sven Heyll
maintainer: sven.heyll@gmail.com
category: Concurrency
tested-with: GHC==8.10.5,GHC==8.10.4,GHC==8.10.3
copyright: Copyright Sven Heyll
license: BSD-2-Clause
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
source-repository head
type: git
location: https://github.com/sheyll/rio-process-pool
flag development
description:
Configure a development version, i.e. -fprof-auto and -Werror
default: False
manual: True
common compiler-flags
ghc-options:
-Wall
-Wcompat
-Widentities
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wredundant-constraints
-Wmissing-export-lists
-Wpartial-fields
-Wmissing-deriving-strategies
-funbox-strict-fields
-Wno-missing-signatures
-fno-full-laziness
if flag(development)
ghc-options:
-Werror
ghc-prof-options:
-fprof-auto
default-extensions:
AllowAmbiguousTypes,
BangPatterns,
BinaryLiterals,
ConstraintKinds,
DataKinds,
DefaultSignatures,
DeriveFoldable,
DeriveFunctor,
DeriveGeneric,
DeriveTraversable,
DerivingStrategies,
DerivingVia,
ExistentialQuantification,
FlexibleContexts,
FlexibleInstances,
FunctionalDependencies,
GADTs,
GeneralizedNewtypeDeriving,
InstanceSigs,
LambdaCase,
MultiParamTypeClasses,
MultiWayIf,
NamedFieldPuns,
NoImplicitPrelude,
NumericUnderscores,
OverloadedStrings,
PatternGuards,
PolyKinds,
RankNTypes,
RecordWildCards,
ScopedTypeVariables,
StandaloneDeriving,
StrictData,
TupleSections,
TypeApplications,
TypeFamilies,
TypeInType,
TypeOperators,
TypeSynonymInstances,
ViewPatterns
other-extensions:
CPP,
DeriveAnyClass,
DeriveLift,
ForeignFunctionInterface,
ImplicitParams,
MagicHash,
PackageImports,
QuasiQuotes,
StaticPointers,
StrictData,
Strict,
TemplateHaskell,
TypeOperators,
UnboxedTuples,
UndecidableInstances,
UnliftedFFITypes
common executable-flags
ghc-options:
-threaded
-rtsopts
"-with-rtsopts=-T -N -qa"
if flag(development)
ghc-prof-options:
"-with-rtsopts=-T -xt -xc -Pa -hc -L256"
common deps
build-depends:
async >= 2 && <3,
base >= 4.14 && <5,
containers >=0.5.8 && <0.7,
data-default >= 0.7 && < 0.8,
hashable,
mtl,
QuickCheck,
rio,
text,
unliftio,
unliftio-messagebox >= 2.0.0 && < 3
library
import: deps, compiler-flags
default-language: Haskell2010
hs-source-dirs:
src
exposed-modules:
RIO.ProcessPool,
RIO.ProcessPool.Broker,
RIO.ProcessPool.Pool
executable rio-process-pool-memleak-test
import: deps, compiler-flags, executable-flags
default-language: Haskell2010
main-is: Main.hs
hs-source-dirs: src-pool-memleak-test
ghc-prof-options:
"-with-rtsopts=-T -hy -pa -L256 -xt -N"
build-depends:
rio-process-pool
test-suite rio-process-pool-test
import: deps, compiler-flags, executable-flags
default-language: Haskell2010
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: src-test
other-modules:
BrokerTest,
PoolTest,
Utils
build-depends:
base,
tasty,
tasty-html,
tasty-hunit,
tasty-quickcheck,
rio-process-pool,
atomic-primops,
HUnit
benchmark rio-process-pool-bench
import: deps, compiler-flags, executable-flags
type: exitcode-stdio-1.0
default-language: Haskell2010
main-is: Main.hs
hs-source-dirs: src-benchmark
build-depends:
rio-process-pool,
criterion