2012-12-20 22:10:27 +08:00
|
|
|
#!/bin/bash
|
|
|
|
set -u
|
|
|
|
set -e
|
|
|
|
|
|
|
|
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
mkdir -p $ROOT/build
|
|
|
|
cd $ROOT/build
|
2012-12-21 14:30:27 +08:00
|
|
|
CC=clang CXX=clang++ cmake -DLLVM_ENABLE_WERROR=ON -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON $ROOT/../../../..
|
2012-12-20 22:10:27 +08:00
|
|
|
make -j64
|
2013-04-24 19:07:25 +08:00
|
|
|
make check-sanitizer -j64
|
|
|
|
make check-tsan -j64
|
|
|
|
make check-asan -j64
|