Fixed the cmake-guided static analysis and use it by default.
The configure script fails on it on Mac OS X, now, for whatever reason. Hopefully gets our static analysis buildslave running again! --HG-- extra : rebase_source : 57f2c5512c5be3b7233132c9ec5d0bb1cbd86c6c
This commit is contained in:
parent
13c9e77b67
commit
9efa4ff286
1 changed files with 3 additions and 3 deletions
|
@ -61,13 +61,13 @@ mkdir checker-buildbot
|
||||||
cd checker-buildbot
|
cd checker-buildbot
|
||||||
|
|
||||||
# You might want to do this for CMake-backed builds instead...
|
# You might want to do this for CMake-backed builds instead...
|
||||||
#cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER="$CHECKERDIR/libexec/ccc-analyzer" ..
|
PATH="$CHECKERDIR:$PATH" scan-build -o analysis cmake -DCMAKE_BUILD_TYPE=Debug ..
|
||||||
|
|
||||||
# ...or run configure without the scan-build wrapper...
|
# ...or run configure without the scan-build wrapper...
|
||||||
#CC="$CHECKERDIR/libexec/ccc-analyzer" CFLAGS="-O0" ../configure
|
#CC="$CHECKERDIR/libexec/ccc-analyzer" CFLAGS="-O0" ../configure
|
||||||
|
|
||||||
# ...but this works for our buildbots just fine.
|
# ...but this works for our buildbots just fine (EXCEPT ON LATEST MAC OS X).
|
||||||
CFLAGS="-O0" PATH="$CHECKERDIR:$PATH" scan-build -o analysis ../configure
|
#CFLAGS="-O0" PATH="$CHECKERDIR:$PATH" scan-build -o analysis ../configure
|
||||||
|
|
||||||
rm -rf analysis
|
rm -rf analysis
|
||||||
PATH="$CHECKERDIR:$PATH" scan-build -o analysis $MAKE
|
PATH="$CHECKERDIR:$PATH" scan-build -o analysis $MAKE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue