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