git.iko.soy/distributed-process
on 28beaa2 help sign in
distributed-process/distributed-process.cabal
269 lines 11 kB history raw
1Name: distributed-process
2Version: 0.4.2
3Cabal-Version: >=1.8
4Build-Type: Simple
5License: BSD3
6License-File: LICENSE
7Copyright: Well-Typed LLP
8Author: Duncan Coutts, Nicolas Wu, Edsko de Vries
9Maintainer: watson.timothy@gmail.com, edsko@well-typed.com, duncan@well-typed.com
10Stability: experimental
11Homepage: http://haskell-distributed.github.com/
12Bug-Reports: http://cloud-haskell.atlassian.net
13Synopsis: Cloud Haskell: Erlang-style concurrency in Haskell
14Description: This is an implementation of Cloud Haskell, as described in
15 /Towards Haskell in the Cloud/ by Jeff Epstein, Andrew Black,
16 and Simon Peyton Jones
17 (<http://research.microsoft.com/en-us/um/people/simonpj/papers/parallel/>),
18 although some of the details are different. The precise message
19 passing semantics are based on /A unified semantics for future Erlang/
20 by Hans Svensson, Lars-Åke Fredlund and Clara Benac Earle.
22 You will probably also want to install a Cloud Haskell backend such
23 as distributed-process-simplelocalnet.
24Tested-With: GHC==7.2.2 GHC==7.4.1 GHC==7.4.2
25Category: Control
27Source-Repository head
28 Type: git
29 Location: https://github.com/haskell-distributed/distributed-process
30 SubDir: distributed-process
32flag th
33 description: Build with Template Haskell support
34 default: True
36flag benchmarks
37 description: Build benchmarks
38 default: False
40flag prof
41 description: Compiling with profiling enabled
42 default: False
44Library
45 Build-Depends: base >= 4.4 && < 5,
46 binary >= 0.5 && < 0.8,
47 deepseq >= 1.3.0.1 && < 1.4,
48 hashable >= 1.2.0.5 && < 1.3,
49 network-transport >= 0.3 && < 0.4,
50 stm >= 2.4 && < 2.5,
51 transformers >= 0.2 && < 0.4,
52 mtl >= 2.0 && < 2.2,
53 data-accessor >= 0.2 && < 0.3,
54 bytestring >= 0.9 && < 0.11,
55 containers >= 0.4 && < 0.6,
56 old-locale >= 1.0 && < 1.1,
57 time >= 1.2 && < 1.5,
58 random >= 1.0 && < 1.1,
59 ghc-prim >= 0.2 && < 0.4,
60 distributed-static >= 0.2 && < 0.3,
61 rank1dynamic >= 0.1 && < 0.2,
62 syb >= 0.3 && < 0.4
63 Exposed-modules: Control.Distributed.Process,
64 Control.Distributed.Process.Closure,
65 Control.Distributed.Process.Debug,
66 Control.Distributed.Process.Internal.Types,
67 Control.Distributed.Process.Management,
68 Control.Distributed.Process.Management.Agent,
69 Control.Distributed.Process.Node,
70 Control.Distributed.Process.Serializable,
71 Control.Distributed.Process.UnsafePrimitives
72 Other-modules: Control.Distributed.Process.Internal.Primitives,
73 Control.Distributed.Process.Management.Bus,
74 Control.Distributed.Process.Internal.Spawn,
75 Control.Distributed.Process.Internal.Primitives,
76 Control.Distributed.Process.Internal.CQueue,
77 Control.Distributed.Process.Internal.Closure.BuiltIn,
78 Control.Distributed.Process.Internal.Messaging,
79 Control.Distributed.Process.Internal.StrictList,
80 Control.Distributed.Process.Internal.StrictMVar,
81 Control.Distributed.Process.Internal.WeakTQueue,
82 Control.Distributed.Process.Internal.StrictContainerAccessors,
83 Control.Distributed.Process.Internal.Trace.Types,
84 Control.Distributed.Process.Internal.Trace.Primitives,
85 Control.Distributed.Process.Internal.Trace.Tracer,
86 Control.Distributed.Process.Internal.Trace.Remote
87 Extensions: RankNTypes,
88 ScopedTypeVariables,
89 FlexibleInstances,
90 UndecidableInstances,
91 ExistentialQuantification,
92 GADTs,
93 GeneralizedNewtypeDeriving,
94 DeriveDataTypeable,
95 CPP,
96 BangPatterns
97 ghc-options: -Wall
98 HS-Source-Dirs: src
99 if flag(th)
100 Build-Depends: template-haskell >= 2.6 && < 2.9
101 Exposed-modules: Control.Distributed.Process.Internal.Closure.TH
102 CPP-Options: -DTemplateHaskellSupport
104Test-Suite TestCH
105 Type: exitcode-stdio-1.0
106 Main-Is: TestCH.hs
107 Build-Depends: base >= 4.4 && < 5,
108 random >= 1.0 && < 1.1,
109 ansi-terminal >= 0.5 && < 0.6,
110 distributed-process,
111 network-transport >= 0.3 && < 0.4,
112 network-transport-tcp >= 0.3 && < 0.4,
113 binary >= 0.5 && < 0.8,
114 network >= 2.3 && < 2.5,
115 HUnit >= 1.2 && < 1.3,
116 test-framework >= 0.6 && < 0.9,
117 test-framework-hunit >= 0.2.0 && < 0.4,
118 rematch >= 0.1.2.1
119 Extensions: CPP,
120 ScopedTypeVariables,
121 DeriveDataTypeable,
122 GeneralizedNewtypeDeriving
123 ghc-options: -Wall -threaded -debug -eventlog -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
124 HS-Source-Dirs: tests
126Test-Suite TestClosure
127 Type: exitcode-stdio-1.0
128 Main-Is: TestClosure.hs
129 Build-Depends: base >= 4.4 && < 5,
130 random >= 1.0 && < 1.1,
131 ansi-terminal >= 0.5 && < 0.6,
132 distributed-static >= 0.2 && < 0.3,
133 distributed-process,
134 network-transport >= 0.3 && < 0.4,
135 network-transport-tcp >= 0.3 && < 0.4,
136 bytestring >= 0.9 && < 0.11,
137 network >= 2.3 && < 2.5,
138 HUnit >= 1.2 && < 1.3,
139 test-framework >= 0.6 && < 0.9,
140 test-framework-hunit >= 0.2.0 && < 0.4
141 Extensions: CPP,
142 ScopedTypeVariables
143 ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
144 HS-Source-Dirs: tests
146Test-Suite TestStats
147 Type: exitcode-stdio-1.0
148 Main-Is: TestStats.hs
149 Build-Depends: base >= 4.4 && < 5,
150 random >= 1.0 && < 1.1,
151 ansi-terminal >= 0.5 && < 0.6,
152 containers >= 0.4 && < 0.6,
153 stm >= 2.4 && < 2.5,
154 distributed-process,
155 network-transport >= 0.3 && < 0.4,
156 network-transport-tcp >= 0.3 && < 0.4,
157 binary >= 0.5 && < 0.8,
158 network >= 2.3 && < 2.5,
159 HUnit >= 1.2 && < 1.3,
160 test-framework >= 0.6 && < 0.9,
161 test-framework-hunit >= 0.2.0 && < 0.4
162 Extensions: CPP,
163 ScopedTypeVariables,
164 DeriveDataTypeable,
165 GeneralizedNewtypeDeriving
166 ghc-options: -Wall -debug -eventlog -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
167 HS-Source-Dirs: tests
169Test-Suite TestTracing
170 Type: exitcode-stdio-1.0
171 Main-Is: TestTracing.hs
172 Build-Depends: base >= 4.4 && < 5,
173 random >= 1.0 && < 1.1,
174 ansi-terminal >= 0.5 && < 0.6,
175 containers >= 0.4 && < 0.6,
176 stm >= 2.4 && < 2.5,
177 distributed-process,
178 network-transport >= 0.3 && < 0.4,
179 network-transport-tcp >= 0.3 && < 0.4,
180 binary >= 0.5 && < 0.7,
181 network >= 2.3 && < 2.5,
182 HUnit >= 1.2 && < 1.3,
183 test-framework >= 0.6 && < 0.9,
184 test-framework-hunit >= 0.2.0 && < 0.4,
185 unix >= 2.5.0.0
186 Extensions: RankNTypes,
187 ScopedTypeVariables,
188 FlexibleInstances,
189 UndecidableInstances,
190 ExistentialQuantification,
191 GADTs,
192 GeneralizedNewtypeDeriving,
193 DeriveDataTypeable,
194 CPP,
195 BangPatterns
196 ghc-options: -Wall -debug -eventlog -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
197 HS-Source-Dirs: tests
200Executable distributed-process-throughput
201 if flag(benchmarks)
202 Build-Depends: base >= 4.4 && < 5,
203 distributed-process,
204 network-transport-tcp >= 0.3 && < 0.4,
205 bytestring >= 0.9 && < 0.11,
206 binary >= 0.5 && < 0.8
207 else
208 buildable: False
209 Main-Is: benchmarks/Throughput.hs
210 ghc-options: -Wall
211 Extensions: BangPatterns
213Executable distributed-process-latency
214 if flag(benchmarks)
215 Build-Depends: base >= 4.4 && < 5,
216 distributed-process,
217 network-transport-tcp >= 0.3 && < 0.4,
218 bytestring >= 0.9 && < 0.11,
219 binary >= 0.5 && < 0.8
220 else
221 buildable: False
222 Main-Is: benchmarks/Latency.hs
223 ghc-options: -Wall
224 Extensions: BangPatterns
226Executable distributed-process-channels
227 if flag(benchmarks)
228 Build-Depends: base >= 4.4 && < 5,
229 distributed-process,
230 network-transport-tcp >= 0.3 && < 0.4,
231 bytestring >= 0.9 && < 0.11,
232 binary >= 0.5 && < 0.8
233 else
234 buildable: False
235 Main-Is: benchmarks/Channels.hs
236 ghc-options: -Wall
237 Extensions: BangPatterns
239Executable distributed-process-spawns
240 if flag(benchmarks)
241 Build-Depends: base >= 4.4 && < 5,
242 distributed-process,
243 network-transport-tcp >= 0.3 && < 0.4,
244 bytestring >= 0.9 && < 0.11,
245 binary >= 0.5 && < 0.8
246 else
247 buildable: False
248 Main-Is: benchmarks/Spawns.hs
249 ghc-options: -Wall
250 Extensions: BangPatterns
252Executable distributed-process-ring
253 if flag(benchmarks)
254 Build-Depends: base >= 4.4 && < 5,
255 distributed-process,
256 network-transport-tcp >= 0.3 && < 0.4,
257 bytestring >= 0.9 && < 0.11,
258 binary >= 0.5 && < 0.8
259 else
260 buildable: False
261 Main-Is: benchmarks/ProcessRing.hs
262 if flag(prof)
263 ghc-options: -Wall -threaded -prof -auto-all -fno-prof-count-entries -rtsopts
264 else
265 ghc-options: -Wall -threaded -O2 -rtsopts
266 Extensions: BangPatterns,
267 ScopedTypeVariables