-
Notifications
You must be signed in to change notification settings - Fork 18
/
_oasis
174 lines (156 loc) · 4.99 KB
/
_oasis
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
OASISFormat: 0.4
Name: mariadb
Version: 1.1.6
Synopsis: OCaml bindings for MariaDB
Authors: Andre Nathan
License: MIT
OCamlVersion: >= 4.03.0
FilesAB: stubgen/ffi_stubgen.ml.ab,
stubgen/ffi_types_stubgen.ml.ab
BuildTools: ocamlbuild
Plugins: META (0.4), DevFiles (0.4)
Flag "mariadb_connector"
Description: Link to the MariaDB C/Connector library
Default: false
Flag "mariadb_as_mysql"
Description: MariaDB's libmariadbclient installed as libmysqlclient.so
Default: false
Library "mariadb"
FindlibName: mariadb
Path: lib
Modules: Mariadb
InternalModules: Bind,
Binding_wrappers,
Blocking,
Common,
Field,
Nonblocking,
Row,
Time,
Util,
Wait_status,
Ffi_generated,
Ffi_generated_types
CSources: ffi_generated_stubs.c
CCOpt: -I $pkg_ctypes_stubs
if flag(mariadb_connector)
CCLib: -lmariadb
else if flag(mariadb_as_mysql)
CCLib: -lmysqlclient
else
CCLib: -lmariadbclient
ByteOpt: -warn-error +1..45
NativeOpt: -warn-error +1..45
BuildDepends: mariadb_bindings,
unix
Library "mariadb_bindings"
Install: true
Path: bindings
Modules: Ffi_bindings
ByteOpt: -warn-error +1..45
NativeOpt: -warn-error +1..45
BuildDepends: ctypes,ctypes.stubs
Executable "ffi_stubgen"
Install: false
Path: stubgen
MainIs: ffi_stubgen.ml
ByteOpt: -warn-error +1..45
NativeOpt: -warn-error +1..45
BuildDepends: mariadb_bindings
Executable "ffi_types_stubgen"
Install: false
Path: stubgen
MainIs: ffi_types_stubgen.ml
ByteOpt: -warn-error +1..45
NativeOpt: -warn-error +1..45
BuildDepends: mariadb_bindings
Document "mariadb"
Title: OCaml-MariaDB documentation
Type: ocamlbuild (0.3)
BuildTools+: ocamldoc
XOCamlbuildPath: lib
XOCamlbuildLibraries: mariadb
Executable "nonblocking_select"
Install: false
Path: examples/select
MainIs: nonblocking_select_example.ml
ByteOpt: -warn-error +1..45
NativeOpt: -warn-error +1..45
CompiledObject: best
BuildDepends: mariadb,
unix
Executable "nonblocking_select_stress_test"
Install: false
Path: examples/select
MainIs: nonblocking_select_stress_test.ml
ByteOpt: -warn-error +1..45
NativeOpt: -warn-error +1..45
CompiledObject: best
BuildDepends: mariadb,
unix
Flag "lwt"
Description: Build the Lwt example
Default: false
Executable "nonblocking_lwt"
Build$: flag(lwt)
Install: false
Path: examples/lwt
MainIs: nonblocking_lwt_example.ml
ByteOpt: -warn-error +1..45
NativeOpt: -warn-error +1..45
CompiledObject: best
BuildDepends: mariadb,
lwt,
lwt.unix
Executable "nonblocking_lwt_stress_test"
Build$: flag(lwt)
Install: false
Path: examples/lwt
MainIs: nonblocking_lwt_stress_test.ml
ByteOpt: -warn-error +1..45
NativeOpt: -warn-error +1..45
CompiledObject: best
BuildDepends: mariadb,
lwt,
lwt.unix
Flag "async"
Description: Build the Async example
Default: false
Executable "nonblocking_async"
Build$: flag(async)
Install: false
Path: examples/async
MainIs: nonblocking_async_example.ml
ByteOpt: -warn-error +1..45
NativeOpt: -warn-error +1..45
CompiledObject: best
BuildDepends: mariadb,
async,
threads
Executable "nonblocking_async_stress_test"
Build$: flag(async)
Install: false
Path: examples/async
MainIs: nonblocking_async_stress_test.ml
ByteOpt: -warn-error +1..45
NativeOpt: -warn-error +1..45
CompiledObject: best
BuildDepends: mariadb,
async,
threads
Executable "blocking"
Install: false
Path: examples/blocking
MainIs: blocking_example.ml
ByteOpt: -warn-error +1..45
NativeOpt: -warn-error +1..45
CompiledObject: best
BuildDepends: mariadb
Executable "blocking_stress_test"
Install: false
Path: examples/blocking
MainIs: blocking_stress_test.ml
ByteOpt: -warn-error +1..45
NativeOpt: -warn-error +1..45
CompiledObject: best
BuildDepends: mariadb