Skip to content

Commit

Permalink
feat(latencygen): added wonderproxy and aws targets in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
meling committed Dec 24, 2024
1 parent 3b6d2ff commit 963338a
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ gorums_go := internal/proto/clientpb/client_gorums.pb.go \

binaries := hotstuff plot

.PHONY: all latencies debug clean protos download tools $(binaries)
CSV ?= wonderproxy.csv

.PHONY: all aws wonderproxy latencies debug clean protos download tools $(binaries)

all: $(binaries)

Expand Down Expand Up @@ -39,7 +41,14 @@ clean:
@rm -fv $(binaries)

latencies:
@go run cmd/latencygen/main.go -file wonderproxy.csv
@echo "Generating Latency Matrix using $(CSV)"
@go run cmd/latencygen/main.go -file "$(CSV)"

wonderproxy:
@$(MAKE) latencies CSV=wonderproxy.csv

aws:
@$(MAKE) latencies CSV=aws.csv

%.pb.go %_gorums.pb.go : %.proto
protoc -I=.:$(proto_include) \
Expand Down

0 comments on commit 963338a

Please sign in to comment.