-
Notifications
You must be signed in to change notification settings - Fork 197
/
rebar.config
84 lines (77 loc) · 3 KB
/
rebar.config
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
%% Known library limitations that make support for Erlang/OTP
%% versions R15 or earlier difficult:
%%
%% katja: Defines a function `query()`, which is a reserved word in R15
%% uuid: Dep on quickrand
%% quickrand: Bogus (IMHO) inability to adapt to R15 environment.
{require_otp_vsn, "R16|17|18"}.
{deps,
[
%% NOTE: some basho_bench drivers make use of pre-folsom stats
%% that permitted float type counter increments. Thus
%% we currently rely on a custom branch of folsom that
%% has a useful-but-icky hack that allows fractional
%% increments. If someone wants to take advantage of a
%% new folsom feature, that desire + float incr must be
%% weighed.
{node_package, "2.0.*", {git, "git://github.com/basho/node_package", {tag, "2.0.0"}}},
{folsom, ".*", {git, "git://github.com/basho/folsom.git", {branch, "boundary-0.7.1+basho-bench-float"}}},
{lager, "2.*", {git, "git://github.com/basho/lager", {tag, "2.1.0"}}},
{ibrowse, ".*",
{git, "git://github.com/cmullaparthi/ibrowse.git", {tag, "v4.0.2"}}},
{riakc, ".*",
{git, "git://github.com/basho/riak-erlang-client", {branch, "master"}}},
{mochiweb, "2.9.*",
{git, "git://github.com/basho/mochiweb", {tag, "v2.9.0"}}},
{getopt, ".*",
{git, "git://github.com/jcomellas/getopt", {tag, "v0.8.2"}}},
{casbench, "0.1",
{git, "git://github.com/basho/casbench",
"95ed55b494551577870984aeb1e0f683631a326f"}},
%% A commit to the cqerl repo in 2015-02 added a dependency on a package
%% called 're2', which causes additional compilation dependencies for
%% the entire basho_bench package. Use a commit that's most recent
%% but prior to the introduction of 're2'.
{cqerl, ".*",
{git, "git://github.com/matehat/cqerl.git",
"16021593c866ca314acd0ba6858194ed44a362b3"}},
{katja, ".*",
{git, "git://github.com/nifoc/katja.git",
{branch, "master"}}},
{rebar_lock_deps_plugin, ".*", {git, "git://github.com/seth/rebar_lock_deps_plugin.git", {tag, "3.1.0"}}}
]}.
{erl_opts, [{src_dirs, [src]},
{parse_transform, lager_transform}]}.
{plugins, [rebar_lock_deps_plugin]}.
{escript_incl_apps, [
bear,
casbench,
cqerl,
folsom,
getopt,
goldrush,
ibrowse,
katja,
lager,
lz4,
%% meck,
mochiweb,
node_package,
%% proper,
protobuffs,
riak_pb,
riakc,
snappy
]}.
%% When using the Java client bench driver, please use the -N and -C
%% command line options to set the distributed Erlang node name
%% and node cookie for the basho_bench VM.
%% It isn't necessary to set the node name and cookie here.
%%
%% If you have any need to run basho_bench in an interactive way with
%% the Erlang CLI, then remove the -noshell and -noinput flags.
%%
%% The value of +Q here is for 1.2 million ports, but the process
%% won't be able to open that many ports without also adjusting the
%% OS process's file descriptor limit, e.g., using "ulimit -n".
{escript_emu_args, "%%! +K true -rsh ssh -noshell -noinput +P 1222333 +Q 1222333 +zdbbl 32768\n"}.