git.iko.soy/distributed-process
on label-tid help sign in
distributed-process/distributed-process.cabal
226 lines 9.1 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.7,
47 network-transport >= 0.3 && < 0.4,
48 stm >= 2.4 && < 2.5,
49 transformers >= 0.2 && < 0.4,
50 mtl >= 2.0 && < 2.2,
51 data-accessor >= 0.2 && < 0.3,
52 bytestring >= 0.9 && < 0.11,
53 containers >= 0.4 && < 0.6,
54 old-locale >= 1.0 && < 1.1,
55 time >= 1.2 && < 1.5,
56 random >= 1.0 && < 1.1,
57 ghc-prim >= 0.2 && < 0.4,
58 distributed-static >= 0.2 && < 0.3,
59 rank1dynamic >= 0.1 && < 0.2,
60 syb >= 0.3 && < 0.4
61 Exposed-modules: Control.Distributed.Process,
62 Control.Distributed.Process.Serializable,
63 Control.Distributed.Process.Closure,
64 Control.Distributed.Process.Node,
65 Control.Distributed.Process.Internal.Primitives,
66 Control.Distributed.Process.Internal.CQueue,
67 Control.Distributed.Process.Internal.Types,
68 Control.Distributed.Process.Internal.Trace,
69 Control.Distributed.Process.Internal.Closure.BuiltIn,
70 Control.Distributed.Process.Internal.Messaging,
71 Control.Distributed.Process.Internal.StrictList,
72 Control.Distributed.Process.Internal.StrictMVar,
73 Control.Distributed.Process.Internal.WeakTQueue
74 Control.Distributed.Process.Internal.StrictContainerAccessors
75 Extensions: RankNTypes,
76 ScopedTypeVariables,
77 FlexibleInstances,
78 UndecidableInstances,
79 ExistentialQuantification,
80 GADTs,
81 GeneralizedNewtypeDeriving,
82 DeriveDataTypeable,
83 CPP,
84 BangPatterns
85 ghc-options: -Wall
86 HS-Source-Dirs: src
87 if flag(th)
88 Build-Depends: template-haskell >= 2.6 && < 2.9
89 Exposed-modules: Control.Distributed.Process.Internal.Closure.TH
90 CPP-Options: -DTemplateHaskellSupport
92Test-Suite TestCH
93 Type: exitcode-stdio-1.0
94 Main-Is: TestCH.hs
95 Build-Depends: base >= 4.4 && < 5,
96 random >= 1.0 && < 1.1,
97 ansi-terminal >= 0.5 && < 0.6,
98 distributed-process,
99 network-transport >= 0.3 && < 0.4,
100 network-transport-tcp >= 0.3 && < 0.4,
101 binary >= 0.5 && < 0.7,
102 network >= 2.3 && < 2.5,
103 HUnit >= 1.2 && < 1.3,
104 test-framework >= 0.6 && < 0.9,
105 test-framework-hunit >= 0.2.0 && < 0.4
106 Extensions: CPP,
107 ScopedTypeVariables,
108 DeriveDataTypeable,
109 GeneralizedNewtypeDeriving
110 ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
111 HS-Source-Dirs: tests
113Test-Suite TestClosure
114 Type: exitcode-stdio-1.0
115 Main-Is: TestClosure.hs
116 Build-Depends: base >= 4.4 && < 5,
117 random >= 1.0 && < 1.1,
118 ansi-terminal >= 0.5 && < 0.6,
119 distributed-static >= 0.2 && < 0.3,
120 distributed-process,
121 network-transport >= 0.3 && < 0.4,
122 network-transport-tcp >= 0.3 && < 0.4,
123 bytestring >= 0.9 && < 0.11,
124 network >= 2.3 && < 2.5,
125 HUnit >= 1.2 && < 1.3,
126 test-framework >= 0.6 && < 0.9,
127 test-framework-hunit >= 0.2.0 && < 0.4
128 Extensions: CPP,
129 ScopedTypeVariables
130 ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
131 HS-Source-Dirs: tests
133Test-Suite TestStats
134 Type: exitcode-stdio-1.0
135 Main-Is: TestStats.hs
136 Build-Depends: base >= 4.4 && < 5,
137 random >= 1.0 && < 1.1,
138 ansi-terminal >= 0.5 && < 0.6,
139 containers >= 0.4 && < 0.6,
140 stm >= 2.4 && < 2.5,
141 distributed-process,
142 network-transport >= 0.3 && < 0.4,
143 network-transport-tcp >= 0.3 && < 0.4,
144 binary >= 0.5 && < 0.7,
145 network >= 2.3 && < 2.5,
146 HUnit >= 1.2 && < 1.3,
147 test-framework >= 0.6 && < 0.9,
148 test-framework-hunit >= 0.2.0 && < 0.4
149 Extensions: CPP,
150 ScopedTypeVariables,
151 DeriveDataTypeable,
152 GeneralizedNewtypeDeriving
153 ghc-options: -Wall -debug -eventlog -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
154 HS-Source-Dirs: tests
157Executable distributed-process-throughput
158 if flag(benchmarks)
159 Build-Depends: base >= 4.4 && < 5,
160 distributed-process,
161 network-transport-tcp >= 0.3 && < 0.4,
162 bytestring >= 0.9 && < 0.11,
163 binary >= 0.5 && < 0.7
164 else
165 buildable: False
166 Main-Is: benchmarks/Throughput.hs
167 ghc-options: -Wall
168 Extensions: BangPatterns
170Executable distributed-process-latency
171 if flag(benchmarks)
172 Build-Depends: base >= 4.4 && < 5,
173 distributed-process,
174 network-transport-tcp >= 0.3 && < 0.4,
175 bytestring >= 0.9 && < 0.11,
176 binary >= 0.5 && < 0.7
177 else
178 buildable: False
179 Main-Is: benchmarks/Latency.hs
180 ghc-options: -Wall
181 Extensions: BangPatterns
183Executable distributed-process-channels
184 if flag(benchmarks)
185 Build-Depends: base >= 4.4 && < 5,
186 distributed-process,
187 network-transport-tcp >= 0.3 && < 0.4,
188 bytestring >= 0.9 && < 0.11,
189 binary >= 0.5 && < 0.7
190 else
191 buildable: False
192 Main-Is: benchmarks/Channels.hs
193 ghc-options: -Wall
194 Extensions: BangPatterns
196Executable distributed-process-spawns
197 if flag(benchmarks)
198 Build-Depends: base >= 4.4 && < 5,
199 distributed-process,
200 network-transport-tcp >= 0.3 && < 0.4,
201 bytestring >= 0.9 && < 0.11,
202 binary >= 0.5 && < 0.7
203 else
204 buildable: False
205 Main-Is: benchmarks/Spawns.hs
206 ghc-options: -Wall
207 Extensions: BangPatterns
209Executable distributed-process-ring
210 if flag(benchmarks)
211 Build-Depends: base >= 4.4 && < 5,
212 distributed-process,
213 network-transport-tcp >= 0.3 && < 0.4,
214 bytestring >= 0.9 && < 0.11,
215 binary >= 0.5 && < 0.7
216 else
217 buildable: False
218 Main-Is: benchmarks/ProcessRing.hs
219 if flag(prof)
220 ghc-options: -Wall -threaded -prof -auto-all -fno-prof-count-entries -rtsopts
221 else
222 ghc-options: -Wall -threaded -O2 -H256m -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
223 Extensions: BangPatterns,
224 ScopedTypeVariables