Fixed the cmake-guided static analysis and use it by default.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 20 Aug 2014 01:21:45 -0400
changeset 9100441e6cee6d14
parent 9099 5bbfdfa38bfc
child 9101 f0c55792deed
child 9515 63f5d07c7d70
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!
build-scripts/checker-buildbot.sh
     1.1 --- a/build-scripts/checker-buildbot.sh	Tue Aug 19 22:04:54 2014 -0700
     1.2 +++ b/build-scripts/checker-buildbot.sh	Wed Aug 20 01:21:45 2014 -0400
     1.3 @@ -61,13 +61,13 @@
     1.4  cd checker-buildbot
     1.5  
     1.6  # You might want to do this for CMake-backed builds instead...
     1.7 -#cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER="$CHECKERDIR/libexec/ccc-analyzer" ..
     1.8 +PATH="$CHECKERDIR:$PATH" scan-build -o analysis cmake -DCMAKE_BUILD_TYPE=Debug ..
     1.9  
    1.10  # ...or run configure without the scan-build wrapper...
    1.11  #CC="$CHECKERDIR/libexec/ccc-analyzer" CFLAGS="-O0" ../configure
    1.12  
    1.13 -# ...but this works for our buildbots just fine.
    1.14 -CFLAGS="-O0" PATH="$CHECKERDIR:$PATH" scan-build -o analysis ../configure
    1.15 +# ...but this works for our buildbots just fine (EXCEPT ON LATEST MAC OS X).
    1.16 +#CFLAGS="-O0" PATH="$CHECKERDIR:$PATH" scan-build -o analysis ../configure
    1.17  
    1.18  rm -rf analysis
    1.19  PATH="$CHECKERDIR:$PATH" scan-build -o analysis $MAKE