-
Notifications
You must be signed in to change notification settings - Fork 14
/
Makefile
54 lines (37 loc) · 1.12 KB
/
Makefile
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
all: deps/cowboy/ebin/cowboy.beam
./rebar compile skip_deps=true
deps/cowboy/ebin/cowboy.beam:
./rebar get-deps compile
full:
./rebar get-deps compile
clean:
./rebar clean
.PHONY: test
test:
./rebar eunit skip_deps=true
1:
# ulimit -n 10240
ERL_MAX_PORTS=10240 erl -pa ebin -pa deps/*/ebin -s dps_example -sname node1 -smp enable
1b:
ERL_MAX_PORTS=10240 erl -pa ebin -pa deps/*/ebin erl -sname bench1 -smp enable
2:
# ulimit -n 10240
ERL_MAX_PORTS=10240 erl -pa ebin -pa deps/*/ebin -s dps_example -sname node2
3:
# ulimit -n 10240
ERL_MAX_PORTS=10240 erl -pa ebin -pa deps/*/ebin -s dps_example -sname node3
4:
# ulimit -n 10240
ERL_MAX_PORTS=10240 erl -pa ebin -pa deps/*/ebin -s dps_example -sname node4
aws: all
./aws.sh
bench:
./rebar compile skip_deps=true
ERL_MAX_PORTS=10240 erl -pa ebin -pa deps/*/ebin -smp enable -s dps_benchmark run1 -sname bench@localhost -setcookie cookie
PLT_NAME=.dps.plt
$(PLT_NAME):
@ERL_LIBS=deps dialyzer --build_plt --output_plt $@ \
--apps kernel stdlib crypto || true
dialyze: $(PLT_NAME)
@dialyzer ebin --plt $(PLT_NAME) --no_native \
-Werror_handling -Wunderspecs