File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 6
6
7
7
export LC_ALL=C.UTF-8
8
8
9
+ # The root dir.
10
+ # The ci system copies this folder.
11
+ # This is where the build is done (depends and dist).
12
+ BASE_ROOT_DIR=$( cd " $( dirname " ${BASH_SOURCE[0]} " ) " /../../ > /dev/null 2>&1 && pwd )
13
+ export BASE_ROOT_DIR
14
+
9
15
echo " Setting specific values in env"
10
16
if [ -n " ${FILE_ENV} " ]; then
11
17
set -o errexit;
12
18
# shellcheck disable=SC1090
13
19
source " ${FILE_ENV} "
14
20
fi
15
21
16
- # The root dir.
17
- # The ci system copies this folder.
18
- # This is where the build is done (depends and dist).
19
- BASE_ROOT_DIR=$( cd " $( dirname " ${BASH_SOURCE[0]} " ) " /../../ > /dev/null 2>&1 && pwd )
20
- export BASE_ROOT_DIR
21
-
22
22
echo " Fallback to default values in env (if not yet set)"
23
23
# The number of parallel jobs to pass down to make and test_runner.py
24
24
export MAKEJOBS=${MAKEJOBS:- -j4}
Original file line number Diff line number Diff line change @@ -11,3 +11,7 @@ export PACKAGES="clang llvm python3-zmq qtbase5-dev qttools5-dev-tools libevent-
11
11
export NO_DEPENDS=1
12
12
export GOAL=" install"
13
13
export BITCOIN_CONFIG=" --enable-zmq --disable-wallet --with-gui=qt5 CPPFLAGS='-DARENA_DEBUG -DDEBUG_LOCKORDER' --with-sanitizers=thread --disable-hardening --disable-asm CC=clang CXX=clang++"
14
+
15
+ # xenial comes with old clang versions that can not parse the sanitizer suppressions files
16
+ # Remove unparseable lines as a hacky workaround
17
+ sed -i ' /^implicit-/d' " ${BASE_ROOT_DIR} /test/sanitizer_suppressions/ubsan"
You can’t perform that action at this time.
0 commit comments