mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix(ci): conditional asm feature (#6096)
This commit is contained in:
5
Makefile
5
Makefile
@ -15,7 +15,7 @@ BUILD_PATH = "target"
|
||||
ifeq ($(OS),Windows_NT)
|
||||
FEATURES ?=
|
||||
else
|
||||
FEATURES ?= jemalloc
|
||||
FEATURES ?= jemalloc asm-keccak
|
||||
endif
|
||||
|
||||
# Cargo profile for builds. Default is for local builds, CI uses an override.
|
||||
@ -74,6 +74,9 @@ op-build-native-%:
|
||||
# No jemalloc on Windows
|
||||
build-x86_64-pc-windows-gnu: FEATURES := $(filter-out jemalloc jemalloc-prof,$(FEATURES))
|
||||
|
||||
# asm keccak optimizations not enabled
|
||||
build-aarch64-unknown-linux-gnu: FEATURES := $(filter-out asm-keccak,$(FEATURES))
|
||||
|
||||
# Note: The additional rustc compiler flags are for intrinsics needed by MDBX.
|
||||
# See: https://github.com/cross-rs/cross/wiki/FAQ#undefined-reference-with-build-std
|
||||
build-%:
|
||||
|
||||
Reference in New Issue
Block a user