2019-11-15 13:38:27 -03:00
#!/usr/bin/env bash
#
2021-12-30 14:36:57 -03:00
# Copyright (c) 2019-2021 The Bitcoin Core developers
2019-11-15 13:38:27 -03: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
2022-02-04 07:39:17 -03:00
export DOCKER_NAME_TAG = "ubuntu:22.04"
2020-02-04 21:43:10 -03:00
export CONTAINER_NAME = ci_native_valgrind
2022-02-09 15:15:10 -03:00
export PACKAGES = "valgrind clang llvm python3-zmq libevent-dev bsdmainutils libboost-dev libdb5.3++-dev libminiupnpc-dev libnatpmp-dev libzmq3-dev libsqlite3-dev"
2019-11-15 13:38:27 -03:00
export USE_VALGRIND = 1
export NO_DEPENDS = 1
2022-02-04 10:10:08 -03:00
export TEST_RUNNER_EXTRA = "--nosandbox --exclude feature_init,rpc_bind,feature_bind_extra" # Excluded for now, see https://github.com/bitcoin/bitcoin/issues/17765#issuecomment-602068547
2019-11-15 13:38:27 -03:00
export GOAL = "install"
2022-04-01 08:57:40 -03:00
# Temporarily pin dwarf 4, until valgrind can understand clang's dwarf 5
export BITCOIN_CONFIG = "--enable-zmq --with-incompatible-bdb --with-gui=no CC=clang CXX=clang++ CXXFLAGS='-fdebug-default-version=4'" # TODO enable GUI