mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
perf(build): make maxperf-op (#7967)
This commit is contained in:
4
Makefile
4
Makefile
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user