mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-06-04 05:00:02 +00:00
ci: pass -d:disableMarchNative to avoid secp256k1 asm build failures
GitHub-hosted runners pick up host-specific CPU features via '-march=native', which combined with '-Og -O3' (emitted when --debugger:native and --opt:speed are both active) exhausts the register constraints in secp256k1's scalar_4x64_impl.h inline assembly and breaks the build with "asm operand has impossible constraints". Using the existing 'disableMarchNative' escape hatch in config.nims falls back to '-mssse3' (or '-march=x86-64-v2' with '-d:marchOptimized'), which keeps register allocation predictable across the heterogeneous runner pool. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
74057c6622
commit
daf6fb13c4
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -13,7 +13,7 @@ concurrency:
|
||||
env:
|
||||
NPROC: 2
|
||||
MAKEFLAGS: "-j${NPROC}"
|
||||
NIMFLAGS: "--parallelBuild:${NPROC} --colors:off -d:chronicles_colors:none"
|
||||
NIMFLAGS: "--parallelBuild:${NPROC} --colors:off -d:chronicles_colors:none -d:disableMarchNative"
|
||||
NIM_VERSION: '2.2.4'
|
||||
NIMBLE_VERSION: '0.22.3'
|
||||
|
||||
@ -157,7 +157,7 @@ jobs:
|
||||
fi
|
||||
|
||||
export MAKEFLAGS="-j1"
|
||||
export NIMFLAGS="--colors:off -d:chronicles_colors:none"
|
||||
export NIMFLAGS="--colors:off -d:chronicles_colors:none -d:disableMarchNative"
|
||||
export USE_LIBBACKTRACE=0
|
||||
|
||||
make V=1 POSTGRES=$postgres_enabled test
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user