mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
Merge bitcoin/bitcoin#26768: ci: Use clang-15 in tsan task
faa00ca78eci: Use clang-15 in tsan task (MarcoFalke) Pull request description: Generally it is best to use the latest clang version for sanitizers, because it comes with the most features and bugfixes. So bump to clang-15, the latest release, for the tsan task. The task was using clang-13 (instead of 14) due to a bug, see https://github.com/bitcoin/bitcoin/pull/24572#issue-1169970859. Bumping to 15 will hopefully fix this bug, as well as https://github.com/bitcoin/bitcoin/pull/26759#issuecomment-1367360491 ACKs for top commit: hebasto: ACKfaa00ca78eTree-SHA512: adb2386bb9615a3e1185e0624b0b68cd2738309530185819714a26e63bdf1c79461c4b4d3aa9cbe2fe08cc412349d7453f192abbbe9fb5adca74cf4b148ae7b7
This commit is contained in:
@@ -228,10 +228,10 @@ task:
|
|||||||
FILE_ENV: "./ci/test/00_setup_env_native_qt5.sh"
|
FILE_ENV: "./ci/test/00_setup_env_native_qt5.sh"
|
||||||
|
|
||||||
task:
|
task:
|
||||||
name: '[TSan, depends, gui] [jammy]'
|
name: '[TSan, depends] [bookworm]'
|
||||||
<< : *GLOBAL_TASK_TEMPLATE
|
<< : *GLOBAL_TASK_TEMPLATE
|
||||||
container:
|
container:
|
||||||
image: ubuntu:jammy
|
image: debian:bookworm
|
||||||
cpu: 6 # Increase CPU and Memory to avoid timeout
|
cpu: 6 # Increase CPU and Memory to avoid timeout
|
||||||
memory: 24G
|
memory: 24G
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
export LC_ALL=C.UTF-8
|
export LC_ALL=C.UTF-8
|
||||||
|
|
||||||
export CONTAINER_NAME=ci_native_tsan
|
export CONTAINER_NAME=ci_native_tsan
|
||||||
export DOCKER_NAME_TAG=ubuntu:22.04
|
export DOCKER_NAME_TAG=debian:bookworm # For clang-15
|
||||||
export PACKAGES="clang-13 llvm-13 libc++abi-13-dev libc++-13-dev python3-zmq"
|
export PACKAGES="clang-15 llvm-15 libc++abi-15-dev libc++-15-dev python3-zmq"
|
||||||
export DEP_OPTS="CC=clang-13 CXX='clang++-13 -stdlib=libc++'"
|
export DEP_OPTS="CC=clang-15 CXX='clang++-15 -stdlib=libc++' NO_QR=1" # qr disabled due to libqrencode 3.4.4 compile failure, https://github.com/bitcoin/bitcoin/pull/26768#issuecomment-1367403430
|
||||||
export GOAL="install"
|
export GOAL="install"
|
||||||
export BITCOIN_CONFIG="--enable-zmq CPPFLAGS='-DARENA_DEBUG -DDEBUG_LOCKORDER -DDEBUG_LOCKCONTENTION' CXXFLAGS='-g' --with-sanitizers=thread CC=clang-13 CXX='clang++-13 -stdlib=libc++'"
|
export BITCOIN_CONFIG="--enable-zmq CPPFLAGS='-DARENA_DEBUG -DDEBUG_LOCKORDER -DDEBUG_LOCKCONTENTION' CXXFLAGS='-g' --with-sanitizers=thread"
|
||||||
|
|||||||
Reference in New Issue
Block a user