git.iko.soy/distributed-process
on b1bc2bc help sign in
distributed-process/distributed-process.cabal
169 lines 7.3 kB history raw
1Name: distributed-process
2Version: 0.5.3
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: https://github.com/haskell-distributed/distributed-process/issues
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-&#xc5;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 GHC==7.6.2
25Category: Control
26extra-source-files: ChangeLog
28Source-Repository head
29 Type: git
30 Location: https://github.com/haskell-distributed/distributed-process
31 SubDir: distributed-process
33flag th
34 description: Build with Template Haskell support
35 default: True
37flag prof
38 description: Compiling with profiling enabled
39 default: False
42flag old-locale
43 description: If false then depend on time >= 1.5.
44 .
45 If true then depend on time < 1.5 together with old-locale.
46 default: False
48Library
49 Build-Depends: base >= 4.4 && < 5,
50 binary >= 0.6.3 && < 0.8,
51 hashable >= 1.2.0.5 && < 1.3,
52 network-transport >= 0.4.1.0 && < 0.5,
53 stm >= 2.4 && < 2.5,
54 transformers >= 0.2 && < 0.5,
55 mtl >= 2.0 && < 2.4,
56 data-accessor >= 0.2 && < 0.3,
57 bytestring >= 0.9 && < 0.11,
58 random >= 1.0 && < 1.2,
59 ghc-prim >= 0.2 && < 0.5,
60 distributed-static >= 0.2 && < 0.4,
61 rank1dynamic >= 0.1 && < 0.4,
62 syb >= 0.3 && < 0.5
63 Exposed-modules: Control.Distributed.Process,
64 Control.Distributed.Process.Closure,
65 Control.Distributed.Process.Debug,
66 Control.Distributed.Process.Internal.Closure.BuiltIn,
67 Control.Distributed.Process.Internal.Closure.Explicit,
68 Control.Distributed.Process.Internal.CQueue,
69 Control.Distributed.Process.Internal.Messaging,
70 Control.Distributed.Process.Internal.Primitives,
71 Control.Distributed.Process.Internal.Spawn,
72 Control.Distributed.Process.Internal.StrictContainerAccessors,
73 Control.Distributed.Process.Internal.StrictList,
74 Control.Distributed.Process.Internal.StrictMVar,
75 Control.Distributed.Process.Internal.Types,
76 Control.Distributed.Process.Internal.WeakTQueue,
77 Control.Distributed.Process.Management,
78 Control.Distributed.Process.Node,
79 Control.Distributed.Process.Serializable,
80 Control.Distributed.Process.UnsafePrimitives
81 Control.Distributed.Process.Management.Internal.Agent,
82 Control.Distributed.Process.Management.Internal.Bus,
83 Control.Distributed.Process.Management.Internal.Table,
84 Control.Distributed.Process.Management.Internal.Types,
85 Control.Distributed.Process.Management.Internal.Trace.Primitives,
86 Control.Distributed.Process.Management.Internal.Trace.Remote,
87 Control.Distributed.Process.Management.Internal.Trace.Types,
88 Control.Distributed.Process.Management.Internal.Trace.Tracer
89 -- Extensions: -- we use explicit per-file LANGUAGE pragmas
90 ghc-options: -Wall
91 HS-Source-Dirs: src
92 if impl(ghc <= 7.4.2)
93 Build-Depends: containers >= 0.4 && < 0.5,
94 deepseq == 1.3.0.0
95 else
96 Build-Depends: containers >= 0.4 && < 0.6,
97 deepseq >= 1.3.0.1 && < 1.6
98 if flag(old-locale)
99 Build-Depends: time < 1.5, old-locale >= 1.0 && <1.1
100 else
101 Build-Depends: time >= 1.5
102 if flag(th)
103 if impl(ghc <= 7.4.2)
104 Build-Depends: template-haskell >= 2.7 && < 2.8
105 else
106 Build-Depends: template-haskell >= 2.6 && < 2.11
107 Exposed-modules: Control.Distributed.Process.Internal.Closure.TH
108 CPP-Options: -DTemplateHaskellSupport
110-- Tests are in distributed-process-test package, for convenience.
112benchmark distributed-process-throughput
113 Type: exitcode-stdio-1.0
114 Build-Depends: base >= 4.4 && < 5,
115 distributed-process,
116 network-transport-tcp >= 0.3 && < 0.5,
117 bytestring >= 0.9 && < 0.11,
118 binary >= 0.6.3 && < 0.8
119 Main-Is: benchmarks/Throughput.hs
120 ghc-options: -Wall
121 Extensions: BangPatterns
123benchmark distributed-process-latency
124 Type: exitcode-stdio-1.0
125 Build-Depends: base >= 4.4 && < 5,
126 distributed-process,
127 network-transport-tcp >= 0.3 && < 0.5,
128 bytestring >= 0.9 && < 0.11,
129 binary >= 0.6.3 && < 0.8
130 Main-Is: benchmarks/Latency.hs
131 ghc-options: -Wall
132 Extensions: BangPatterns
134benchmark distributed-process-channels
135 Type: exitcode-stdio-1.0
136 Build-Depends: base >= 4.4 && < 5,
137 distributed-process,
138 network-transport-tcp >= 0.3 && < 0.5,
139 bytestring >= 0.9 && < 0.11,
140 binary >= 0.6.3 && < 0.8
141 Main-Is: benchmarks/Channels.hs
142 ghc-options: -Wall
143 Extensions: BangPatterns
145benchmark distributed-process-spawns
146 Type: exitcode-stdio-1.0
147 Build-Depends: base >= 4.4 && < 5,
148 distributed-process,
149 network-transport-tcp >= 0.3 && < 0.5,
150 bytestring >= 0.9 && < 0.11,
151 binary >= 0.6.3 && < 0.8
152 Main-Is: benchmarks/Spawns.hs
153 ghc-options: -Wall
154 Extensions: BangPatterns
156benchmark distributed-process-ring
157 Type: exitcode-stdio-1.0
158 Build-Depends: base >= 4.4 && < 5,
159 distributed-process,
160 network-transport-tcp >= 0.3 && < 0.5,
161 bytestring >= 0.9 && < 0.11,
162 binary >= 0.6.3 && < 0.8
163 Main-Is: benchmarks/ProcessRing.hs
164 if flag(prof)
165 ghc-options: -Wall -threaded -prof -auto-all -fno-prof-count-entries -rtsopts
166 else
167 ghc-options: -Wall -threaded -O2 -rtsopts
168 Extensions: BangPatterns,
169 ScopedTypeVariables