feat(Makefile): add reth-bench and install-reth-bench makefile targets (#16553)

This commit is contained in:
Dan Cline
2025-05-30 03:34:01 -04:00
committed by GitHub
parent 586976f12f
commit c715dd261b

View File

@@ -206,6 +206,18 @@ $(EF_TESTS_DIR):
ef-tests: $(EF_TESTS_DIR) ## Runs Ethereum Foundation tests.
cargo nextest run -p ef-tests --features ef-tests
##@ reth-bench
.PHONY: reth-bench
reth-bench: ## Build the reth-bench binary into the `target` directory.
cargo build --manifest-path bin/reth-bench/Cargo.toml --features "$(FEATURES)" --profile "$(PROFILE)"
.PHONY: install-reth-bech
install-reth-bench: ## Build and install the reth binary under `~/.cargo/bin`.
cargo install --path bin/reth-bench --bin reth-bench --force --locked \
--features "$(FEATURES)" \
--profile "$(PROFILE)"
##@ Docker
# Note: This requires a buildx builder with emulation support. For example: