-
Notifications
You must be signed in to change notification settings - Fork 10
/
dune
82 lines (76 loc) · 1.48 KB
/
dune
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
(library
(public_name devkit)
(libraries
(re_export devkit_core))
(modules devkit))
(library
(name devkit_core)
(public_name devkit.core)
(libraries
threads.posix ; must come first
curl
curl.lwt
extlib
extunix
libevent
lwt
lwt.unix
ocamlnet_lite
pcre
stdlib-shims
str
trace.core
unix
yojson
(select
possibly_otel.ml
from
(opentelemetry opentelemetry.trace -> possibly_otel.real.ml)
( -> possibly_otel.stub.ml))
zip)
(modules :standard \
devkit
stage_merge
memory_gperftools
memory_jemalloc
test
test_gzip
test_httpev)
(preprocess
(per_module
((pps lwt_ppx)
httpev
logstash
lwt_flag
lwt_util
parallel
web))
))
(library
(name devkit_gperftools)
(public_name devkit.gperftools)
(optional)
(libraries
devkit_core
gperftools)
(modules memory_gperftools))
(library
(name devkit_jemalloc)
(public_name devkit.jemalloc)
(optional)
(libraries
devkit_core
jemalloc)
(modules memory_jemalloc))
(executable
(name test)
(libraries devkit extlib extunix libevent ocamlnet_lite ounit2 unix yojson)
(modules test test_httpev))
; uses 8GB+ RAM, so do not run as part of test suite
(executable
(name test_gzip)
(libraries devkit extlib)
(modules test_gzip))
(rule
(alias runtest)
(action (run ./test.exe)))