Commit 2a740622482cf59ac0c00f60231df5b6988af4b6
1 parent
07909a62
Azure pipelines: fix test-sanitizers job
Showing
1 changed file
with
2 additions
and
1 deletions
azure-pipelines/test-sanitizers
| @@ -2,11 +2,12 @@ | @@ -2,11 +2,12 @@ | ||
| 2 | set -e | 2 | set -e |
| 3 | sudo apt-get update | 3 | sudo apt-get update |
| 4 | sudo apt-get -y install \ | 4 | sudo apt-get -y install \ |
| 5 | - autoconf build-essential zlib1g-dev libjpeg-dev libgnutls28-dev | 5 | + autoconf build-essential zlib1g-dev libjpeg-dev libgnutls28-dev libssl-dev |
| 6 | ./configure \ | 6 | ./configure \ |
| 7 | CFLAGS="-fsanitize=address -fsanitize=undefined -g" \ | 7 | CFLAGS="-fsanitize=address -fsanitize=undefined -g" \ |
| 8 | CXXFLAGS="-fsanitize=address -fsanitize=undefined -g" \ | 8 | CXXFLAGS="-fsanitize=address -fsanitize=undefined -g" \ |
| 9 | LDFLAGS="-fsanitize=address -fsanitize=undefined" \ | 9 | LDFLAGS="-fsanitize=address -fsanitize=undefined" \ |
| 10 | + CC=clang CXX="clang++ --std=c++11" \ | ||
| 10 | --enable-crypto-native --enable-crypto-openssl --enable-crypto-gnutls \ | 11 | --enable-crypto-native --enable-crypto-openssl --enable-crypto-gnutls \ |
| 11 | --enable-werror --disable-shared --enable-show-failed-test-output | 12 | --enable-werror --disable-shared --enable-show-failed-test-output |
| 12 | make -j$(nproc) -k | 13 | make -j$(nproc) -k |