mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-06-04 05:00:02 +00:00
ci: set NIM_PARAMS=-d:disableMarchNative for container image build
The docker image build compiled secp256k1 with -march=native and failed. waku.nimble's getNimParams reads the NIM_PARAMS env var, not NIMFLAGS, so the -d:disableMarchNative passed via NIMFLAGS on the make line never reached `nim c` and config.nims applied -march=native. #3916 added NIM_PARAMS to ci.yml but missed container-image.yml; set it here too. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
83f962c3c8
commit
eadd7dcc06
5
.github/workflows/container-image.yml
vendored
5
.github/workflows/container-image.yml
vendored
@ -15,6 +15,11 @@ env:
|
||||
NPROC: 2
|
||||
MAKEFLAGS: "-j${NPROC}"
|
||||
NIMFLAGS: "--parallelBuild:${NPROC}"
|
||||
# nim builds read compile flags from NIM_PARAMS (getNimParams in waku.nimble),
|
||||
# not NIMFLAGS, so -d:disableMarchNative must live here or config.nims applies
|
||||
# -march=native and secp256k1 fails to compile (see #3916, which set this in
|
||||
# ci.yml but missed this workflow).
|
||||
NIM_PARAMS: "-d:disableMarchNative"
|
||||
NIM_VERSION: '2.2.4'
|
||||
NIMBLE_VERSION: '0.22.3'
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user