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_freebsd_cross10export CI_IMAGE_NAME_TAG="mirror.gcr.io/ubuntu:26.04"11export APT_LLVM_V="23"12export HOST=x86_64-unknown-freebsd13export FREEBSD_VERSION=15.114export FREEBSD_SDK_BASENAME="freebsd-${HOST}-${FREEBSD_VERSION}"15export FREEBSD_SDK_SHA256=3768988b151c20f965679062b065c63a977d6bbb9f47fd83695ec2c40790c18f16export PACKAGES="clang-${APT_LLVM_V} llvm-${APT_LLVM_V} lld-${APT_LLVM_V}"17export SYSROOT="--sysroot=${DEPENDS_DIR}/SDKs/${FREEBSD_SDK_BASENAME}"18export DEP_OPTS="build_CC=clang build_CXX=clang++ \19CC='clang --target=${HOST} ${SYSROOT}' \20CXX='clang++ --target=${HOST} ${SYSROOT} -stdlib=libc++' \21LDFLAGS='-Wc,-fuse-ld=lld -fuse-ld=lld' \22AR=llvm-ar-${APT_LLVM_V} \23NM=llvm-nm-${APT_LLVM_V} \24OBJCOPY=llvm-objcopy-${APT_LLVM_V} \25OBJDUMP=llvm-objdump-${APT_LLVM_V} \26RANLIB=llvm-ranlib-${APT_LLVM_V} \27STRIP=llvm-strip-${APT_LLVM_V}"28export GOAL="install"29export BITCOIN_CONFIG="\30--preset=dev-mode \31-DCMAKE_LINKER_TYPE=LLD \32-DREDUCE_EXPORTS=ON \33-DWITH_USDT=OFF \34"35export RUN_UNIT_TESTS=false36export 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.