2022-04-04 05:00:09 -04:00
#!/usr/bin/env bash
#
2023-08-23 16:48:44 -04:00
# Copyright (c) 2023-present The Bitcoin Core developers
2022-04-04 05:00:09 -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
2023-09-13 04:32:08 -03:00
export CI_IMAGE_NAME_TAG = "docker.io/ubuntu:23.10" # This version will reach EOL in Jul 2024, and can be replaced by "ubuntu:24.04" (or anything else that ships the wanted clang version).
2022-04-04 05:00:09 -04:00
export CONTAINER_NAME = ci_native_tidy
2023-07-20 11:19:48 -04:00
export TIDY_LLVM_V = "17"
export PACKAGES = " clang- ${ TIDY_LLVM_V } libclang- ${ TIDY_LLVM_V } -dev llvm- ${ TIDY_LLVM_V } -dev libomp- ${ TIDY_LLVM_V } -dev clang-tidy- ${ TIDY_LLVM_V } jq bear cmake libevent-dev libboost-dev libminiupnpc-dev libnatpmp-dev libzmq3-dev systemtap-sdt-dev libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libqrencode-dev libsqlite3-dev libdb++-dev "
2022-04-04 05:00:09 -04:00
export NO_DEPENDS = 1
export RUN_UNIT_TESTS = false
export RUN_FUNCTIONAL_TESTS = false
export RUN_FUZZ_TESTS = false
export RUN_TIDY = true
export GOAL = "install"
2023-07-20 11:19:48 -04:00
export BITCOIN_CONFIG = " CC=clang- ${ TIDY_LLVM_V } CXX=clang++- ${ TIDY_LLVM_V } --with-incompatible-bdb --disable-hardening CFLAGS='-O0 -g0' CXXFLAGS='-O0 -g0 -I/usr/lib/llvm- ${ TIDY_LLVM_V } /lib/clang/ ${ TIDY_LLVM_V } /include' "
2023-07-30 16:36:56 -04:00
export CCACHE_MAXSIZE = 200M