forked from 23Skidoo/haskell-iocp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwin-io-mngr.cabal
211 lines (185 loc) · 5.45 KB
/
win-io-mngr.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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
name: win-io-mngr
version: 0.1.0.0
synopsis: Native Windows IO Manager for the Glasgow Haskell Compiler.
-- description:
homepage: https://github.com/Mistuke/ghc-win-io-system
license: BSD3
license-file: LICENSE
author: Joey Adams, Mikhail Glushenkov, Tamar Christina
maintainer: [email protected]
copyright: Copyright (c) Joseph Adams 2012,
Copyright (c) Mikhail Glushenkov 2016
Copyright (c) Tamar Christina 2017
category: System
build-type: Simple
cabal-version: >=1.8
extra-source-files:
include/alignment.h changelog.md
source-repository head
type: git
location: [email protected]:Mistuke/ghc-win-io-system.git
library
exposed-modules:
GHC.Event.Arr
GHC.Event.Array
GHC.Event.IntTable
GHC.Event.PSQ
GHC.Event.Unique
GHC.Event.Windows
GHC.Event.Windows.Clock
GHC.Event.Windows.FFI
GHC.Event.Windows.Thread
Network.Winsock
System.IO.IOCP
GHC.IO.Windows.Handle
GHC.IO.Windows.Encoding
c-sources:
cbits/Winsock.c
cbits/IOutils.c
build-tools: hsc2hs
extensions: ForeignFunctionInterface, CPP
ghc-options:
-Wall -fwarn-tabs -fno-warn-missing-signatures
-fno-warn-name-shadowing
cc-options: -Wall -fno-strict-aliasing
build-depends : base >= 4 && < 5
, ghc-prim
, bytestring
, containers
, Win32
, network
include-dirs: include
includes: "windows_cconv.h", "alignment.h"
install-includes:
extra-libraries: Ws2_32
flag all-tests
Description: Enable all test exes
Default: False
executable pong
main-is: pong.hs
hs-source-dirs: testing
ghc-options: -threaded -rtsopts
build-depends: ansi-terminal, base, bytestring, win-io-mngr, network
if flag(all-tests)
buildable: True
else
buildable: False
executable pong-baseline
main-is: pong-baseline.hs
hs-source-dirs: testing
build-depends: ansi-terminal, base, bytestring, win-io-mngr, network
ghc-options: -threaded -rtsopts
if flag(all-tests)
buildable: True
else
buildable: False
executable file
main-is: file.hs
hs-source-dirs: testing
build-depends: ansi-terminal, base, bytestring, win-io-mngr, network
ghc-options: -threaded -rtsopts
executable file-baseline
main-is: file-baseline.hs
hs-source-dirs: testing
build-depends: ansi-terminal, base, bytestring, win-io-mngr, network
ghc-options: -threaded -rtsopts
executable clock
main-is: clock.hs
hs-source-dirs: testing
build-depends: ansi-terminal, base, win-io-mngr
ghc-options: -threaded -rtsopts
if flag(all-tests)
buildable: True
else
buildable: False
executable close-while-pending
main-is: close-while-pending.hs
hs-source-dirs: testing
build-depends: base, bytestring, win-io-mngr, network
ghc-options: -threaded -rtsopts
if flag(all-tests)
buildable: True
else
buildable: False
executable close-without-shutdown
main-is: close-without-shutdown.hs
hs-source-dirs: testing
build-depends: base, bytestring, win-io-mngr, network
ghc-options: -threaded -rtsopts
if flag(all-tests)
buildable: True
else
buildable: False
executable monotonic-time
main-is: monotonic-time.hs
hs-source-dirs: testing
build-depends: ansi-terminal, base, win-io-mngr
ghc-options: -threaded -rtsopts
if flag(all-tests)
buildable: True
else
buildable: False
executable recv-bench
main-is: recv-bench.hs
hs-source-dirs: testing
build-depends: base, bytestring, criterion, win-io-mngr, network
ghc-options: -threaded -rtsopts
if flag(all-tests)
buildable: True
else
buildable: False
executable recv
main-is: recv.hs
hs-source-dirs: testing
build-depends: base, win-io-mngr, network
ghc-options: -threaded -rtsopts
if flag(all-tests)
buildable: True
else
buildable: False
executable send-buffer-full
main-is: send-buffer-full.hs
hs-source-dirs: testing
build-depends: base, bytestring, win-io-mngr, network
ghc-options: -threaded -rtsopts
if flag(all-tests)
buildable: True
else
buildable: False
executable send
main-is: send.hs
hs-source-dirs: testing
build-depends: base, bytestring, win-io-mngr, network
ghc-options: -threaded -rtsopts
if flag(all-tests)
buildable: True
else
buildable: False
executable send-recv
main-is: send-recv.hs
hs-source-dirs: testing
build-depends: base, bytestring, win-io-mngr, network
ghc-options: -threaded -rtsopts
if flag(all-tests)
buildable: True
else
buildable: False
executable trivial
main-is: trivial.hs
hs-source-dirs: testing
build-depends: base, win-io-mngr, network
ghc-options: -threaded -rtsopts
if flag(all-tests)
buildable: True
else
buildable: False
executable thread-delay
main-is: thread-delay.hs
hs-source-dirs: testing
build-depends: base, win-io-mngr, stm
ghc-options: -threaded -rtsopts
executable thread-delay-baseline
main-is: thread-delay-baseline.hs
hs-source-dirs: testing
build-depends: base, stm
ghc-options: -threaded -rtsopts