cross-remote: CROSS_EXTRA_ENV, one literal export line for the box build (the preview builds set IGNEUM_PREVIEW); site deploy: the explorer source notice and the /build and /faucet chain-id lines asserted
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
c0a52a09ac
commit
fa8bddde54
1 changed files with 4 additions and 0 deletions
|
|
@ -85,6 +85,10 @@ export CARGO_TARGET_X86_64_PC_WINDOWS_GNU_RUSTFLAGS="-C link-arg=-static -C link
|
|||
export IGNEUM_WINDRES=x86_64-w64-mingw32-windres LIBCLANG_PATH="$LLVM_LIB"
|
||||
export BINDGEN_EXTRA_CLANG_ARGS_x86_64_pc_windows_gnu="--target=x86_64-w64-mingw32 --sysroot=/usr/x86_64-w64-mingw32 -I/usr/x86_64-w64-mingw32/include"
|
||||
echo "cross-remote: $(x86_64-w64-mingw32-gcc-posix --version | head -1); libclang $LLVM_LIB"'
|
||||
# CROSS_EXTRA_ENV (8 Oct 2026, the preview builds): one literal shell line of exports appended to the build environment, e.g.
|
||||
# CROSS_EXTRA_ENV="export IGNEUM_PREVIEW='preview 1'" (the engine reads it with option_env! at compile time); printed back by the runner
|
||||
if [ -n "${CROSS_EXTRA_ENV:-}" ]; then env_block="$env_block
|
||||
$CROSS_EXTRA_ENV; echo \"cross-remote: extra env: $CROSS_EXTRA_ENV\""; fi
|
||||
pre="" # the same kaspa-build-info clean on a new commit as build-remote.sh (the Windows target has its own fingerprint)
|
||||
[ "$BS_KIND" = node ] && pre="[ \"\$(cat '.cross-remote-sha-$TARGET_DIR' 2>/dev/null)\" = '$BS_SHA' ] || CARGO_TARGET_DIR='$TARGET_DIR' cargo clean -q --release -p kaspa-build-info --target $TARGET 2>/dev/null; "
|
||||
cmd="$(bs_repro_env)$env_block
|
||||
|
|
|
|||
Loading…
Reference in a new issue