Inside Bitcoin
Opening the selected file…
Inside Bitcoin
Opening the selected file…
The code behind the network, with room to understand it.
Release published 2026-10-28 · Snapshot fetched 2026-11-01. Latest stable release at fetch time; development branches and Git history are excluded. Only the selected code window and visible folders load here.
1#!/usr/bin/env bash2#3# Copyright (c) The Bitcoin Core developers4# Distributed under the MIT software license, see the accompanying5# file COPYING or https://opensource.org/license/mit.7export LC_ALL=C.UTF-89export CONTAINER_NAME=ci_openbsd_cross10export CI_IMAGE_NAME_TAG="mirror.gcr.io/ubuntu:26.04"11export APT_LLVM_V="23"12export HOST=x86_64-unknown-openbsd13export OPENBSD_VERSION=7.914export OPENBSD_SDK_BASENAME="openbsd-${HOST}-${OPENBSD_VERSION}"15export OPENBSD_SDK_SHA256SUMS="\16923d2e03f06408d50d4848334398c6d04b5514dcac7917badfc178a0eef248de base79.tgz\n\1721a67af20aebcabf85b09f4206fc95b4cae0a35d42b154b976f0159f457724f9 comp79.tgz"18export PACKAGES="clang-${APT_LLVM_V} llvm-${APT_LLVM_V} lld-${APT_LLVM_V}"19export SYSROOT="--sysroot=${DEPENDS_DIR}/SDKs/${OPENBSD_SDK_BASENAME}"20export DEP_OPTS="NO_QT=1 build_CC=clang build_CXX=clang++ \21CC='clang --target=${HOST} ${SYSROOT}' \22CXX='clang++ --target=${HOST} ${SYSROOT} -stdlib=libc++' \23LDFLAGS='-fuse-ld=lld' \24AR=llvm-ar-${APT_LLVM_V} \25NM=llvm-nm-${APT_LLVM_V} \26OBJCOPY=llvm-objcopy-${APT_LLVM_V} \27OBJDUMP=llvm-objdump-${APT_LLVM_V} \28RANLIB=llvm-ranlib-${APT_LLVM_V} \29STRIP=llvm-strip-${APT_LLVM_V}"30export GOAL="install"31export BITCOIN_CONFIG="\32--preset=dev-mode \33-DBUILD_GUI=OFF \34-DREDUCE_EXPORTS=ON \35-DWITH_USDT=OFF \36"37export RUN_UNIT_TESTS=false38export RUN_FUNCTIONAL_TESTS=false
Independent explanations by MyBitcoinExplorer. Not affiliated with or endorsed by Bitcoin Core. Guides are educational and do not replace the source or its tests.
Bitcoin Core source © its contributors, distributed under the MIT license. Original notices and bundled third-party licenses are retained in the source tree.