[clang][extract-api] Emit "navigator" property of "name" in SymbolGraph
[llvm-project.git] / compiler-rt / lib / tsan / check_cmake.sh
blob15faa5a904e7fbf23e265234a8cf4eb3e5ff7707
1 #!/usr/bin/env bash
2 set -u
3 set -e
5 ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
6 if [ -d "$ROOT/llvm-build" ]; then
7 cd $ROOT/llvm-build
8 else
9 mkdir -p $ROOT/llvm-build
10 cd $ROOT/llvm-build
11 CC=clang CXX=clang++ cmake -G Ninja -DLLVM_ENABLE_WERROR=ON -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON $ROOT/../../../..
13 ninja
14 ninja check-sanitizer
15 ninja check-tsan
16 ninja check-asan
17 ninja check-msan
18 ninja check-lsan