-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdistributed-process-demos.cabal
157 lines (146 loc) · 5.51 KB
/
distributed-process-demos.cabal
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
-- Initial distributed-process-demos.cabal generated by cabal init. For
-- further documentation, see http://haskell.org/cabal/users-guide/
name: distributed-process-demos
version: 0.1.0.0
synopsis: Cloud Haskell Demo Applications
-- description:
homepage: http://haskell-distributed.github.com
license: BSD3
license-file: LICENSE
author: Edsko de Vries
maintainer: [email protected], [email protected]
copyright: Well-Typed LLP
category: Control
build-type: Simple
cabal-version: >=1.8
flag use-simplelocalnet
description: Use the SimpleLocalnet backend
default: True
flag use-azure
description: Use the Azure backend
default: True
executable distributed-process-simplelocalnet-masterslave
main-is: SimpleLocalnet.hs
other-modules: MasterSlave
PrimeFactors
hs-source-dirs: src/MasterSlave src/Common
build-depends: base >=4.5 && <5,
distributed-process >= 0.3.2
extensions: BangPatterns, CPP, TemplateHaskell
ghc-options: -Wall
if flag(use-simplelocalnet)
build-depends: distributed-process-simplelocalnet
cpp-options: -DUSE_SIMPLELOCALNET
else
buildable: False
executable distributed-process-azure-masterslave
main-is: Azure.hs
other-modules: MasterSlave
PrimeFactors
hs-source-dirs: src/MasterSlave src/Common
build-depends: base >=4.5 && <5,
distributed-process >= 0.3.2
extensions: BangPatterns, CPP, TemplateHaskell
ghc-options: -Wall
if flag(use-azure)
build-depends: distributed-process-azure
cpp-options: -DUSE_AZURE
else
buildable: False
executable distributed-process-simplelocalnet-workpushing
main-is: SimpleLocalnet.hs
other-modules: WorkPushing
PrimeFactors
hs-source-dirs: src/WorkPushing src/Common
build-depends: base >=4.5 && <5,
distributed-process >= 0.3.2
extensions: BangPatterns, CPP, TemplateHaskell
ghc-options: -Wall
if flag(use-simplelocalnet)
build-depends: distributed-process-simplelocalnet
cpp-options: -DUSE_SIMPLELOCALNET
else
buildable: False
executable distributed-process-azure-workpushing
main-is: Azure.hs
other-modules: WorkPushing
PrimeFactors
hs-source-dirs: src/WorkPushing src/Common
build-depends: base >=4.5 && <5,
distributed-process >= 0.3.2
extensions: BangPatterns, CPP, TemplateHaskell
ghc-options: -Wall
if flag(use-azure)
build-depends: distributed-process-azure
cpp-options: -DUSE_AZURE
else
buildable: False
executable distributed-process-simplelocalnet-typedworkpushing
main-is: SimpleLocalnet.hs
other-modules: TypedWorkPushing
PrimeFactors
hs-source-dirs: src/TypedWorkPushing src/Common
build-depends: base >=4.5 && <5,
distributed-process >= 0.3.2
extensions: BangPatterns, CPP, TemplateHaskell
ghc-options: -Wall
if flag(use-simplelocalnet)
build-depends: distributed-process-simplelocalnet
cpp-options: -DUSE_SIMPLELOCALNET
else
buildable: False
executable distributed-process-azure-typedworkpushing
main-is: Azure.hs
other-modules: TypedWorkPushing
PrimeFactors
hs-source-dirs: src/TypedWorkPushing src/Common
build-depends: base >=4.5 && <5,
distributed-process >= 0.3.2
extensions: BangPatterns, CPP, TemplateHaskell
ghc-options: -Wall
if flag(use-azure)
build-depends: distributed-process-azure
cpp-options: -DUSE_AZURE
else
buildable: False
executable distributed-process-simplelocalnet-workstealing
main-is: SimpleLocalnet.hs
other-modules: WorkStealing
PrimeFactors
hs-source-dirs: src/WorkStealing src/Common
build-depends: base >=4.5 && <5,
distributed-process >= 0.3.2
extensions: BangPatterns, CPP, TemplateHaskell
ghc-options: -Wall
if flag(use-simplelocalnet)
build-depends: distributed-process-simplelocalnet
cpp-options: -DUSE_SIMPLELOCALNET
else
buildable: False
executable distributed-process-simplelocalnet-mapreduce
main-is: SimpleLocalnet.hs
other-modules: CountWords
KMeans
MapReduce
MonoDistrMapReduce
PolyDistrMapReduce
hs-source-dirs: src/MapReduce
build-depends: base >=4.5 && <5,
distributed-process >= 0.3.2,
distributed-static >= 0.2.0,
containers >= 0.4 && < 0.6,
bytestring >= 0.9 && < 0.11,
binary >= 0.5 && < 0.8,
array >= 0.4 && < 0.6,
random >= 1.0 && < 1.2
extensions: BangPatterns
CPP
KindSignatures
ScopedTypeVariables
TemplateHaskell
ghc-options: -Wall -rtsopts -with-rtsopts=-K64M
if flag(use-simplelocalnet)
build-depends: distributed-process-simplelocalnet
cpp-options: -DUSE_SIMPLELOCALNET
else
buildable: False