Navigation Menu

Skip to content

Commit

Permalink
Fixed the cmake-guided static analysis and use it by default.
Browse files Browse the repository at this point in the history
The configure script fails on it on Mac OS X, now, for whatever reason.

Hopefully gets our static analysis buildslave running again!
  • Loading branch information
icculus committed Aug 20, 2014
1 parent 2d2f902 commit 41728b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build-scripts/checker-buildbot.sh
Expand Up @@ -61,13 +61,13 @@ mkdir checker-buildbot
cd checker-buildbot

# 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...
#CC="$CHECKERDIR/libexec/ccc-analyzer" CFLAGS="-O0" ../configure

# ...but this works for our buildbots just fine.
CFLAGS="-O0" PATH="$CHECKERDIR:$PATH" scan-build -o analysis ../configure
# ...but this works for our buildbots just fine (EXCEPT ON LATEST MAC OS X).
#CFLAGS="-O0" PATH="$CHECKERDIR:$PATH" scan-build -o analysis ../configure

rm -rf analysis
PATH="$CHECKERDIR:$PATH" scan-build -o analysis $MAKE
Expand Down

0 comments on commit 41728b3

Please sign in to comment.