Skip to content

Commit 5a623a9

Browse files
authored
fix(ci): conditional asm feature (#6096)
1 parent be2d6f0 commit 5a623a9

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
profile: maxperf
3737
- target: aarch64-unknown-linux-gnu
3838
os: ubuntu-20.04
39-
profile: maxperf-no-asm
39+
profile: maxperf
4040
- target: x86_64-apple-darwin
4141
os: macos-latest
4242
profile: maxperf

‎Makefile‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ BUILD_PATH = "target"
1515
ifeq ($(OS),Windows_NT)
1616
FEATURES ?=
1717
else
18-
FEATURES ?= jemalloc
18+
FEATURES ?= jemalloc asm-keccak
1919
endif
2020

2121
# Cargo profile for builds. Default is for local builds, CI uses an override.
@@ -74,6 +74,9 @@ op-build-native-%:
7474
# No jemalloc on Windows
7575
build-x86_64-pc-windows-gnu: FEATURES := $(filter-out jemalloc jemalloc-prof,$(FEATURES))
7676

77+
# asm keccak optimizations not enabled
78+
build-aarch64-unknown-linux-gnu: FEATURES := $(filter-out asm-keccak,$(FEATURES))
79+
7780
# Note: The additional rustc compiler flags are for intrinsics needed by MDBX.
7881
# See: https://github.com/cross-rs/cross/wiki/FAQ#undefined-reference-with-build-std
7982
build-%:

0 commit comments

Comments
 (0)