commit | 7b7c823183de34023290a5cc63bebf6602590e29 | [log] [tgz] |
---|---|---|
author | Jan Kundrát <jan.kundrat@cesnet.cz> | Wed Mar 13 14:04:06 2019 +0100 |
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | Wed Mar 13 14:04:06 2019 +0100 |
tree | 6bfee5309990aa12cfcefa4c202415817f3ef2f2 | |
parent | bc05db508c960c4980e3159699de974d155ccdd7 [diff] [blame] |
Update dependencies and add a TSAN build Depends-on: https://gerrit.cesnet.cz/c/CzechLight/dependencies/+/1560 Change-Id: I8af8f33fad99f39f4835b2620abc601f1b312cd1
diff --git a/ci/build.sh b/ci/build.sh index aea3316..5438b0a 100755 --- a/ci/build.sh +++ b/ci/build.sh
@@ -33,6 +33,12 @@ export LDFLAGS="-fsanitize=address ${LDFLAGS}" fi +if [[ $ZUUL_JOB_NAME =~ .*-tsan ]]; then + export CFLAGS="-fsanitize=thread ${CFLAGS}" + export CXXFLAGS="-fsanitize=thread ${CXXFLAGS}" + export LDFLAGS="-fsanitize=thread ${LDFLAGS}" +fi + PREFIX=~/target mkdir ${PREFIX} BUILD_DIR=~/build