perf(build): make maxperf-op (#7967)

This commit is contained in:
Emilia Hane
2024-05-01 15:59:46 +02:00
committed by GitHub
parent 99db2b352f
commit 99924e4244

View File

@ -263,6 +263,10 @@ update-book-cli: ## Update book cli documentation.
maxperf: ## Builds `reth` with the most aggressive optimisations. maxperf: ## Builds `reth` with the most aggressive optimisations.
RUSTFLAGS="-C target-cpu=native" cargo build --profile maxperf --features jemalloc,asm-keccak RUSTFLAGS="-C target-cpu=native" cargo build --profile maxperf --features jemalloc,asm-keccak
.PHONY: maxperf-op
maxperf-op: ## Builds `op-reth` with the most aggressive optimisations.
RUSTFLAGS="-C target-cpu=native" cargo build --profile maxperf --features jemalloc,asm-keccak,optimism --bin op-reth
.PHONY: maxperf-no-asm .PHONY: maxperf-no-asm
maxperf-no-asm: ## Builds `reth` with the most aggressive optimisations, minus the "asm-keccak" feature. maxperf-no-asm: ## Builds `reth` with the most aggressive optimisations, minus the "asm-keccak" feature.
RUSTFLAGS="-C target-cpu=native" cargo build --profile maxperf --features jemalloc RUSTFLAGS="-C target-cpu=native" cargo build --profile maxperf --features jemalloc