mirror of
https://github.com/mozilla/cubeb
synced 2024-11-21 06:26:10 -07:00
15 lines
310 B
Bash
Executable file
15 lines
310 B
Bash
Executable file
#!/bin/sh -x
|
|
|
|
CLANG_CHECKER_NAME=checker-278
|
|
|
|
cd ~
|
|
|
|
if [ ! -d ~/$CLANG_CHECKER_NAME ]
|
|
then
|
|
curl http://clang-analyzer.llvm.org/downloads/$CLANG_CHECKER_NAME.tar.bz2 -o ~/$CLANG_CHECKER_NAME.tar.bz2
|
|
tar -xf ~/$CLANG_CHECKER_NAME.tar.bz2
|
|
fi
|
|
|
|
export SCAN_BUILD_PATH=~/$CLANG_CHECKER_NAME/bin/scan-build
|
|
|
|
cd -
|