What changed, and why it matters
This commit adds a new automated testing configuration file for Bitcoin Core's continuous integration (CI) system. It sets up a build environment using Chimera Linux with link-time optimization (LTO) enabled. There is no code change to Bitcoin Core itself, no bug fix, and no security-relevant change.
No security action needed. This is a routine CI infrastructure addition.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit introduces ci/test/00_setup_env_native_chimera_lto.sh, a shell script that configures a CI job. It specifies a Chimera Linux container image, base packages, pip packages, compiler/toolchain variables (clang/llvm), and CMake options including -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON. This is purely an infrastructure/testing addition.
Changed components
ci/test/00_setup_env_native_chimera_lto.shInspect captured patch +23 / −0
diff --git a/ci/test/00_setup_env_native_chimera_lto.sh b/ci/test/00_setup_env_native_chimera_lto.sh
new file mode 100755
index 00000000..fb5a343d
--- /dev/null
+++ b/ci/test/00_setup_env_native_chimera_lto.sh
@@ -0,0 +1,23 @@
+#!/usr/bin/env bash
+#
+# Copyright (c) The Bitcoin Core developers
+# Distributed under the MIT software license, see the accompanying
+# file COPYING or https://opensource.org/license/mit.
+
+# This config is experimental, and may not be reproducible, given
+# the use of a rolling distro.
+
+export LC_ALL=C.UTF-8
+
+export CONTAINER_NAME=ci_native_chimera_musl
+export CI_IMAGE_NAME_TAG="mirror.gcr.io/chimeralinux/chimera"
+export CI_BASE_PACKAGES="ccache chimerautils chimerautils-extra clang cmake curl e2fsprogs git gmake gtar linux-headers ninja pkgconf procps python-devel python-pip rsync util-linux util-linux-lscpu xz"
+export PIP_PACKAGES="--break-system-packages pyzmq pycapnp"
+export DEP_OPTS="build_CC=clang build_CXX=clang++ build_TAR=gtar AR=llvm-ar CC=clang CXX=clang++ NM=llvm-nm RANLIB=llvm-ranlib STRIP=llvm-strip NO_QT=1"
+export GOAL="install"
+export BITCOIN_CONFIG="\
+ --preset=dev-mode \
+ -DBUILD_GUI=OFF \
+ -DREDUCE_EXPORTS=ON \
+ -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON \
+"
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.