-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.yaml
134 lines (125 loc) · 2.48 KB
/
package.yaml
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
verbatim:
cabal-version: 2.2
name: symphony
version: 0.1.0.0
default-extensions:
- ConstraintKinds
- DataKinds
- ExplicitNamespaces
- FlexibleContexts
- FlexibleInstances
- FunctionalDependencies
- GADTs
- GeneralizedNewtypeDeriving
- InstanceSigs
- KindSignatures
- LambdaCase
- MonadComprehensions
- MultiParamTypeClasses
- NoImplicitPrelude
- OverloadedStrings
- PatternSynonyms
- PolyKinds
- QuantifiedConstraints
- RankNTypes
- RebindableSyntax
- ScopedTypeVariables
- StandaloneDeriving
- Strict
- StrictData
- TemplateHaskell
- TypeApplications
- TypeFamilies
- TypeOperators
- UndecidableInstances
- UndecidableSuperClasses
- UnicodeSyntax
- ViewPatterns
- CPP
flags:
par:
default: false
manual: true
ghc-options:
- -Wall
- -Wno-orphans
- -Wno-partial-type-signatures
- -j
- -optP-Wno-nonportable-include-path
- -g
- -O2
- -optc-O3
- -fspecialise-aggressively
- -fexpose-all-unfoldings
data-dir: data
data-files:
- ./**/*
library:
source-dirs:
- src/lib/common
- src/lib/seq
dependencies:
- aeson
- network
- base
- binary
- process
- bytestring
- directory
- filepath
- cryptonite
- uvmhs
- aeson
- bytestring
- text
- vector
when:
- condition: flag(par)
source-dirs:
- src/lib/par
exposed-modules:
- Symphony.Dynamic.Par
- Symphony.Dynamic.Par.Types
- Symphony.Dynamic.Par.Channel
- Symphony.Dynamic.Par.Channel.Types
- Symphony.Dynamic.Par.Dist
- Symphony.Dynamic.Par.Error
- Symphony.Dynamic.Par.Rep
- Symphony.Dynamic.Par.Rep.Types
- Symphony.Dynamic.Par.GMW
- Symphony.Dynamic.Par.GMW.Types
- Symphony.Dynamic.Par.Operations
- Symphony.Dynamic.Par.Prg
- Symphony.Dynamic.Par.Prg.Types
- Symphony.Dynamic.Par.Primitives
- Symphony.Dynamic.Par.ReadType
- Symphony.Dynamic.Par.Send
- Symphony.Dynamic.Par.Truncating
extra-libraries:
- symphony
tests:
symphony-test:
main: Main.hs
source-dirs:
- src/test
dependencies:
- base
- text
- hspec
- uvmhs
- symphony
executables:
symphony:
main: Main.hs
source-dirs:
- src/main
dependencies:
- base
- cryptonite
- symphony
- uvmhs
when:
- condition: flag(par)
extra-libraries:
- symphony
cpp-options: -DPAR