Disable static builds for static analysis.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 30 Jul 2017 14:36:01 -0400
changeset 11170b5fe34e8401f
parent 11169 df9e78e15a16
child 11171 6f6e8880cd37
Disable static builds for static analysis.

There's really no sense in analyzing everything twice, and this makes the
job finish significantly faster.
build-scripts/checker-buildbot.sh
     1.1 --- a/build-scripts/checker-buildbot.sh	Sun Jul 30 14:09:18 2017 -0400
     1.2 +++ b/build-scripts/checker-buildbot.sh	Sun Jul 30 14:36:01 2017 -0400
     1.3 @@ -68,7 +68,7 @@
     1.4  # The -Wno-liblto is new since our checker-279 upgrade, I think; checker otherwise warns "libLTO.dylib relative to clang installed dir not found"
     1.5  
     1.6  # You might want to do this for CMake-backed builds instead...
     1.7 -PATH="$CHECKERDIR/bin:$PATH" scan-build -o analysis cmake -Wno-dev -DCMAKE_BUILD_TYPE=Debug -DASSERTIONS=enabled -DCMAKE_C_FLAGS="-Wno-deprecated-declarations" -DCMAKE_SHARED_LINKER_FLAGS="-Wno-liblto" ..
     1.8 +PATH="$CHECKERDIR/bin:$PATH" scan-build -o analysis cmake -Wno-dev -DSDL_STATIC=OFF -DCMAKE_BUILD_TYPE=Debug -DASSERTIONS=enabled -DCMAKE_C_FLAGS="-Wno-deprecated-declarations" -DCMAKE_SHARED_LINKER_FLAGS="-Wno-liblto" ..
     1.9  
    1.10  # ...or run configure without the scan-build wrapper...
    1.11  #CC="$CHECKERDIR/libexec/ccc-analyzer" CFLAGS="-O0 -Wno-deprecated-declarations" LDFLAGS="-Wno-liblto" ../configure --enable-assertions=enabled