-
Notifications
You must be signed in to change notification settings - Fork 16
/
COMPILING
62 lines (43 loc) · 1.49 KB
/
COMPILING
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
PREREQUISITES:
ocaml 3.12.1
findlib 1.2.7
lwt 2.3.2
ounit 1.1.0
react 0.9.2
camlbz2 0.6.0
we provide a script that sets up the development the prerequisites:
python tools/setup_env.py
COMPILING:
we use ocamlbuild combined with ocamlfind as main driver for our builds.
documentation
make -C doc html latexpdf ==> doc/_build/html/index.html, doc/_build/latex/Arakoon.pdf
executable
ocamlbuild -use-ocamlfind arakoon.native ==> arakoon.native
(Note: if you have previous 1.x Arakoon then duo to environement possible conflicts, 'ocamlbuild -use-ocamlfind barakoon.native')
libraries
ocamlbuild -use-ocamlfind arakoon_client.cma arakoon_client.cmxa arakoon_client.a ==>
_build/src/arakoon_client.cma
_build/src/arakoon_client.cmxa
src/client/arakoon_exc.mli
_build/src/client/arakoon_exc.cmi
_build/src/client/arakoon_exc.cmx
src/client/arakoon_client.mli
_build/src/client/arakoon_client.cmi
_build/src/client/arakoon_client.cmx
src/client/arakoon_remote_client.mli
_build/src/client/arakoon_remote_client.cmi
_build/src/client/arakoon_remote_client.cmx
RUNNING THE TESTS:
./main.native --run-all-tests
COVERAGE:
Bisect needs to be installed. (get it from http://bisect.x9c.fr/)
ocamlbuild -tag use_bisect -tag use_macro arakoon.d.byte
./report.sh
DEBIAN packages:
fakeroot debian/rules clean
fakeroot debian/rules build
fakeroot debian/rules binary
Python egg:
python setup.py bdist_egg
have fun,
The arakoon team