build-scripts/checker-buildbot.sh
changeset 8637 1c0ab89ad87c
parent 8636 c10618240799
child 8638 d7a5c452411b
equal deleted inserted replaced
8636:c10618240799 8637:1c0ab89ad87c
    58     rm -rf "$FINALDIR"
    58     rm -rf "$FINALDIR"
    59 fi
    59 fi
    60 
    60 
    61 mkdir checker-buildbot
    61 mkdir checker-buildbot
    62 cd checker-buildbot
    62 cd checker-buildbot
    63 cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER="$CHECKERDIR/libexec/ccc-analyzer" -DSDL_STATIC=OFF ..
    63 #cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER="$CHECKERDIR/libexec/ccc-analyzer" -DSDL_STATIC=OFF ..
       
    64 CC="$CHECKERDIR/libexec/ccc-analyzer" CFLAGS="-O0" ../configure --disable-static
    64 PATH="$CHECKERDIR:$PATH" scan-build -o analysis $MAKE
    65 PATH="$CHECKERDIR:$PATH" scan-build -o analysis $MAKE
    65 mv analysis/* ../analysis
    66 mv analysis/* ../analysis
    66 rmdir analysis   # Make sure this is empty.
    67 rmdir analysis   # Make sure this is empty.
    67 cd ..
    68 cd ..
    68 chmod -R a+r analysis
    69 chmod -R a+r analysis