2019-08-15 16:51:31 -04:00
#!/usr/bin/env bash
#
2023-08-29 04:39:05 -04:00
# Copyright (c) 2019-present The Bitcoin Core developers
2019-08-15 16:51:31 -04:00
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
export LC_ALL = C.UTF-8
export HOST = arm-linux-gnueabihf
2019-10-10 20:04:49 -03:00
export DPKG_ADD_ARCH = "armhf"
2019-12-17 17:24:03 -03:00
export PACKAGES = "python3-zmq g++-arm-linux-gnueabihf busybox libc6:armhf libstdc++6:armhf libfontconfig1:armhf libxcb1:armhf"
2020-02-04 21:43:10 -03:00
export CONTAINER_NAME = ci_arm_linux
2023-08-29 04:39:05 -04:00
export CI_IMAGE_NAME_TAG = "docker.io/arm64v8/debian:bookworm" # Check that https://packages.debian.org/bookworm/g++-arm-linux-gnueabihf (version 12.2, similar to guix) can cross-compile
2019-09-30 18:26:22 -03:00
export USE_BUSY_BOX = true
2019-10-02 18:10:57 -03:00
export RUN_UNIT_TESTS = true
2020-10-03 12:17:35 -03:00
export RUN_FUNCTIONAL_TESTS = false
2019-08-15 16:51:31 -04:00
export GOAL = "install"
# -Wno-psabi is to disable ABI warnings: "note: parameter passing for argument of type ... changed in GCC 7.1"
# This could be removed once the ABI change warning does not show up by default
2024-07-24 06:54:41 -04:00
export BITCOIN_CONFIG = "-DREDUCE_EXPORTS=ON -DCMAKE_CXX_FLAGS='-Wno-psabi -Wno-error=maybe-uninitialized'"