standard build dir

This commit is contained in:
Roy Crihfield 2024-07-09 18:51:40 +08:00
parent 7ace692eb0
commit 88f5b41ab7

View File

@ -2,6 +2,7 @@
# go-ethereum import conflicts # go-ethereum import conflicts
ALL := dumpdiff.geth dumpdiff.plugeth dumpdiff.plugeth-parallel ALL := dumpdiff.geth dumpdiff.plugeth dumpdiff.plugeth-parallel
BUILD_DIR := ./build
dumpdiff.geth: dumpdiff-geth/* dumpdiff.geth: dumpdiff-geth/*
cd dumpdiff-geth && go build -tags geth -o ../$@ . cd dumpdiff-geth && go build -tags geth -o ../$@ .
@ -13,13 +14,13 @@ dumpdiff.plugeth-parallel:
cd dumpdiff-plugeth-parallel && go build -tags plugeth_parallel -o ../$@ . cd dumpdiff-plugeth-parallel && go build -tags plugeth_parallel -o ../$@ .
clean: clean:
rm -rf $(ALL) _var rm -rf $(ALL) $(BUILD_DIR)
compare-plugeth: dumpdiff.geth dumpdiff.plugeth compare-plugeth: dumpdiff.geth dumpdiff.plugeth
./scripts/compare-diffs.sh -d _var/ geth plugeth ./scripts/compare-diffs.sh -d $(BUILD_DIR)/ geth plugeth
compare-plugeth-parallel: dumpdiff.geth dumpdiff.plugeth-parallel compare-plugeth-parallel: dumpdiff.geth dumpdiff.plugeth-parallel
./scripts/compare-diffs.sh -d _var/ geth plugeth-parallel ./scripts/compare-diffs.sh -d $(BUILD_DIR)/ geth plugeth-parallel
test: compare-plugeth compare-plugeth-parallel test: compare-plugeth compare-plugeth-parallel