-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
30 lines (21 loc) · 1002 Bytes
/
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
TASKS := echo unique-ids broadcast multibroadcast fault-tolerant-multibroadcast efficient-broadcast-i
all:
@echo Tasks: $(TASKS)
unique-ids: cmd/unique-ids
go build ./$<
../maelstrom/maelstrom test -w unique-ids --bin ./$@ --time-limit 30 --rate 1000 --node-count 3 --availability total --nemesis partition
broadcast: cmd/broadcast
go build ./$<
../maelstrom/maelstrom test -w broadcast --bin ./$@ --node-count 1 --time-limit 20 --rate 10
multibroadcast: cmd/multibroadcast
go build ./$<
../maelstrom/maelstrom test -w broadcast --bin ./$@ --node-count 5 --time-limit 20 --rate 10
fault-tolerant-multibroadcast: cmd/fault-tolerant-multibroadcast
go build ./$<
../maelstrom/maelstrom test -w broadcast --bin ./$@ --node-count 5 --time-limit 20 --rate 10 --nemesis partition
efficient-broadcast-i: cmd/efficient-broadcast-i
go build ./$<
../maelstrom/maelstrom test -w broadcast --bin ./$@ --node-count 25 --time-limit 20 --rate 100 --latency 100
clean:
rm -rf $(TASKS)
.PHONY: clean