|
@@ -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
|