Inside Bitcoin
Opening the selected file…
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_netbsd_cross10export CI_IMAGE_NAME_TAG="mirror.gcr.io/ubuntu:26.04"11export APT_LLVM_V="23"12export HOST=x86_64-unknown-netbsd13export NETBSD_VERSION=11.014export NETBSD_SDK_BASENAME="netbsd-${HOST}-${NETBSD_VERSION}"15export NETBSD_SDK_SHA512SUMS="\16e8871bbedb8c3e0f696cc2596ced0c1e6497939f725fb3495b8d2c168430325907550f5f840f4dd0e3c73e6090394747c5e54762f2737de81177b984403522a8 base.tar.xz\n\17d8df6c07e9142dd8189292b769ac312f86185a6a278a752c18c840f7cd3a8dd3c535f9b0c8e06b62d556b2c75b97a01d786184e8a18f5e080ccd213591c8628f comp.tar.xz"18export PACKAGES="clang-${APT_LLVM_V} llvm-${APT_LLVM_V} lld-${APT_LLVM_V}"19export SYSROOT="--sysroot=${DEPENDS_DIR}/SDKs/${NETBSD_SDK_BASENAME}"20export DEP_OPTS="build_CC=clang build_CXX=clang++ \21CC='clang --target=${HOST} ${SYSROOT}' \22CXX='clang++ --target=${HOST} ${SYSROOT} -stdlib=libstdc++' \23LDFLAGS='-fuse-ld=lld -lgcc_s' \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.