-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
52 lines (46 loc) · 1.27 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
# Package not ready for stable.
build:
# ... build ...
# TODO: cargo +stable build
cargo +nightly build
#
# ... test ...
# TODO: cargo +stable test --no-run
cargo +nightly test --no-run
#
# ... bench ...
cargo +nightly bench --no-run
#
# ... doc ...
# TODO: cargo +stable doc
cargo +nightly doc
#
# ... bins ...
# cargo +stable build --release --bin rdms --features=rdms
cargo +nightly build --release --bin rdms --features=rdms
# cargo +stable build --release --bin pms --features=pms
cargo +nightly build --release --bin pms --features=pms
# cargo +stable build --release --bin crio --features=crio
cargo +nightly build --release --bin crio --features=crio
# cargo +stable build --release --bin zimf --features=zimf
cargo +nightly build --release --bin zimf --features=zimf
#
# ... meta commands ...
cargo +nightly clippy --all-targets --all-features
test:
# ... test ...
# TODO: cargo +stable test
cargo +nightly test
bench:
# ... bench ...
# TODO: cargo +stable bench
cargo +nightly bench
flamegraph:
cargo flamegraph --features=rdms --release --bin=rdms -- --load 1000000 --ops 10000
prepare: build test bench
check.sh check.out
perf.sh perf.out
clean:
cargo clean
rm -f check.out perf.out flamegraph.svg perf.data perf.data.old
rm -rf perf-data