This is an automated email from the ASF dual-hosted git repository. sorber pushed a commit to branch 6.2.x in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit ba704e69ad48010ca4749bd25552e41074478eb5 Author: Leif Hedstrom <[email protected]> AuthorDate: Mon Jun 20 11:25:02 2016 -0600 TS-4566 Disabled clang-analyzer on LuaJIT (cherry picked from commit 9a3d48485e7652be2a7472fdfa6933ba71a0c139) --- ci/jenkins/bin/clang-analyzer.sh | 9 ++++++--- configure.ac | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ci/jenkins/bin/clang-analyzer.sh b/ci/jenkins/bin/clang-analyzer.sh index c0dee78..7d5c9fc 100755 --- a/ci/jenkins/bin/clang-analyzer.sh +++ b/ci/jenkins/bin/clang-analyzer.sh @@ -21,9 +21,12 @@ # to talk to the author of it, or ideally, figure out how to get clang-analyzer to # ignore them ? +# Where are our LLVM tools? +LLVM_BASE=${LLVM:-/opt/llvm} + # Options options="--status-bugs --keep-empty" -configure="--enable-experimental-plugins --enable-cppapi --disable-luajit" +configure="--enable-experimental-plugins --enable-cppapi" # Additional checkers # Phil says these are all FP's: -enable-checker alpha.security.ArrayBoundV2 @@ -44,8 +47,8 @@ test -d "/home/jenkins/clang-analyzer" && output="/home/jenkins/clang-analyzer" autoreconf -fi #scan-build ./configure ${configure} -./configure ${configure} -/opt/llvm/bin/scan-build ${checkers} ${options} -o ${output} --html-title="ATS master branch" ${ATS_MAKE} -j4 +./configure ${configure} CC=${LLVM_BASE}/bin/clang CXX=${LLVM_BASE}/bin/clang++ +${LLVM_BASE}/bin/scan-build ${checkers} ${options} -o ${output} --html-title="ATS master branch" ${ATS_MAKE} -j4 status=$? ${ATS_MAKE} distclean diff --git a/configure.ac b/configure.ac index 5aa9ca8..a52c1c2 100644 --- a/configure.ac +++ b/configure.ac @@ -809,7 +809,7 @@ case $host_os_def in debug_opt="-ggdb3 $common_opt -Qunused-arguments" release_opt="-g $common_opt $optimizing_flags -fno-strict-aliasing -Qunused-arguments" cxx_opt="-Wno-invalid-offsetof" - lua_cflags="-Wno-parentheses-equality -Wno-tautological-compare" + lua_cflags="-Wno-parentheses-equality -Wno-tautological-compare -analyzer-disable-all-checks" ]) AS_IF([test "x$ax_cv_c_compiler_vendor" = "xgnu"], [ -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
