mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-09 11:27:28 -03:00
c1832584bf
Otherwise: ```bash NEW_FUNC[1/23]: ==4710==WARNING: invalid path to external symbolizer! ==4710==WARNING: Failed to use and restart external symbolizer! 0xb72010 (/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/test/fuzz/fuzz+0xa6a010) (BuildId: 2087ad415cb752eea259ed750f3b78a7fcb0b43b) NEW_FUNC[2/23]: 0xb72240 (/ci_container_base/ci/scratch/build-x86_64-pc-linux-gnu/src/test/fuzz/fuzz+0xa6a240) (BuildId: 2087ad415cb752eea259ed750f3b78a7fcb0b43b) ```
24 lines
809 B
Bash
Executable file
24 lines
809 B
Bash
Executable file
#!/usr/bin/env bash
|
|
#
|
|
# Copyright (c) 2019-present The Bitcoin Core developers
|
|
# 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 CI_IMAGE_NAME_TAG="docker.io/ubuntu:24.04"
|
|
export CONTAINER_NAME=ci_native_fuzz_valgrind
|
|
export PACKAGES="clang-16 llvm-16 libclang-rt-16-dev libevent-dev libboost-dev libsqlite3-dev valgrind"
|
|
export NO_DEPENDS=1
|
|
export RUN_UNIT_TESTS=false
|
|
export RUN_FUNCTIONAL_TESTS=false
|
|
export RUN_FUZZ_TESTS=true
|
|
export FUZZ_TESTS_CONFIG="--valgrind"
|
|
export GOAL="install"
|
|
export BITCOIN_CONFIG="\
|
|
-DBUILD_FOR_FUZZING=ON \
|
|
-DSANITIZERS=fuzzer \
|
|
-DCMAKE_C_COMPILER=clang-16 \
|
|
-DCMAKE_CXX_COMPILER=clang++-16 \
|
|
"
|
|
export LLVM_SYMBOLIZER_PATH="/usr/bin/llvm-symbolizer-16"
|