summaryrefslogtreecommitdiffstats
path: root/ci/setup-sanitizer-build.sh
blob: e4591f85bec34c082082159357ed0f6800b89914 (plain)
1
2
3
4
5
6
7
#!/bin/sh

set -ex

# Linux updated its ASLR randomization in a way that is incompatible with
# TSAN. See https://github.com/google/sanitizers/issues/1716
sudo sysctl vm.mmap_rnd_bits=28