forked from basho/basho_bench
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrebar.config
101 lines (94 loc) · 3.31 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
%% Known library limitations that make support for Erlang/OTP
%% versions R15 or earlier difficult:
%%
%% uuid: Dep on quickrand
%% quickrand: Bogus (IMHO) inability to adapt to R15 environment.
{require_otp_vsn, "R16|17|18|19|20|21|22"}.
{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, "4.0.*", {git, "git://github.com/basho/node_package", {tag, "4.0.2"}}},
{folsom, ".*", {git, "git://github.com/basho/folsom.git", {branch, "boundary-0.7.1+basho-bench-float"}}},
{lager, "3.*", {git, "git://github.com/erlang-lager/lager", {tag, "3.8.0"}}},
{ibrowse, ".*",
{git, "git://github.com/cmullaparthi/ibrowse.git", {tag, "v4.4.1"}}},
{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"}}},
{protobuffs, ".*", {git, "git://github.com/basho/erlang_protobuffs", {tag,
"0.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"}}
]}.
{erl_opts, [{src_dirs, [src]},
{parse_transform, lager_transform}]}.
{overrides, [
{override, hamcrest, [
{plugins, []}
]},
{override, riakc, [
{erl_opts, [
{platform_define, "(19|20|21|22)", namespaced_types},
{platform_define, "(19|20|21|22)", deprecated_now},
{platform_define, "(19|20|21|22)", deprecated_19}]
}
]},
{override, meck, [{erl_opts, [
{platform_define, "^[0-9]+", namespaced_dicts},
warn_export_all,
warn_export_vars,
warn_shadow_vars,
warn_obsolete_guard,
warn_unused_import,
debug_info
]}]}
]}.
{plugins, []}.
{escript_incl_apps, [
bear,
casbench,
cqerl,
folsom,
getopt,
goldrush,
ibrowse,
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"}.