build-scripts/checker-buildbot.sh
changeset 11170 b5fe34e8401f
parent 10652 c3fbfa229d71
child 13815 8c7bf8f29b8c
equal deleted inserted replaced
11169:df9e78e15a16 11170:b5fe34e8401f
    66 
    66 
    67 # We turn off deprecated declarations, because we don't care about these warnings during static analysis.
    67 # We turn off deprecated declarations, because we don't care about these warnings during static analysis.
    68 # The -Wno-liblto is new since our checker-279 upgrade, I think; checker otherwise warns "libLTO.dylib relative to clang installed dir not found"
    68 # The -Wno-liblto is new since our checker-279 upgrade, I think; checker otherwise warns "libLTO.dylib relative to clang installed dir not found"
    69 
    69 
    70 # You might want to do this for CMake-backed builds instead...
    70 # You might want to do this for CMake-backed builds instead...
    71 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" ..
    71 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" ..
    72 
    72 
    73 # ...or run configure without the scan-build wrapper...
    73 # ...or run configure without the scan-build wrapper...
    74 #CC="$CHECKERDIR/libexec/ccc-analyzer" CFLAGS="-O0 -Wno-deprecated-declarations" LDFLAGS="-Wno-liblto" ../configure --enable-assertions=enabled
    74 #CC="$CHECKERDIR/libexec/ccc-analyzer" CFLAGS="-O0 -Wno-deprecated-declarations" LDFLAGS="-Wno-liblto" ../configure --enable-assertions=enabled
    75 
    75 
    76 rm -rf analysis
    76 rm -rf analysis