2019-08-15 16:51:31 -04:00
#!/usr/bin/env bash
#
2022-12-24 20:49:50 -03:00
# Copyright (c) 2019-2022 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
2022-11-28 17:26:26 -03:00
# Only install BCC tracing packages in Cirrus CI.
if [ [ " ${ CIRRUS_CI } " = = "true" ] ] ; then
export BPFCC_PACKAGE = "bpfcc-tools"
else
export BPFCC_PACKAGE = ""
fi
2022-07-01 07:49:55 -04:00
2020-02-04 21:43:10 -03:00
export CONTAINER_NAME = ci_native_asan
2023-06-27 11:05:43 -04:00
export PACKAGES = " systemtap-sdt-dev clang-16 llvm-16 libclang-rt-16-dev python3-zmq qtbase5-dev qttools5-dev-tools libevent-dev libboost-dev libdb5.3++-dev libminiupnpc-dev libnatpmp-dev libzmq3-dev libqrencode-dev libsqlite3-dev ${ BPFCC_PACKAGE } "
2023-03-29 07:43:03 -03:00
export CI_IMAGE_NAME_TAG = ubuntu:23.04 # Version 23.04 will reach EOL in Jan 2024, and can be replaced by "ubuntu:24.04" (or anything else that ships the wanted clang version).
2019-08-15 16:51:31 -04:00
export NO_DEPENDS = 1
export GOAL = "install"
2023-05-30 06:04:22 -04:00
export BITCOIN_CONFIG = " --enable-c++20 --enable-usdt --enable-zmq --with-incompatible-bdb --with-gui=qt5 \
CPPFLAGS = '-DARENA_DEBUG -DDEBUG_LOCKORDER' \
--with-sanitizers= address,float-divide-by-zero,integer,undefined CC = clang-16 CXX = clang++-16"