This is an automated email from the ASF dual-hosted git repository. nicknezis pushed a commit to branch nicknezis/bazel-2 in repository https://gitbox.apache.org/repos/asf/incubator-heron.git
commit d7a1d224ef629b52e4af5021ec36f0d82af5809b Author: Nicholas Nezis <[email protected]> AuthorDate: Tue Jan 28 02:41:26 2020 -0500 Upgrade cppcheck to 1.90 --- third_party/cppcheck/cppcheck.BUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/third_party/cppcheck/cppcheck.BUILD b/third_party/cppcheck/cppcheck.BUILD index db17532..3e08a8c 100644 --- a/third_party/cppcheck/cppcheck.BUILD +++ b/third_party/cppcheck/cppcheck.BUILD @@ -4,9 +4,10 @@ package(default_visibility = ["//visibility:public"]) install_script = "\n".join([ "cd external/com_github_danmar_cppcheck", - "make SRCDIR=build CFGDIR=cfg CXXFLAGS='-O2 -DNDEBUG -Wall -Wno-sign-compare -Wno-unused-function'", + "make MATCHCOMPILER=yes CFGDIR=cfg CXXFLAGS='-O2 -DNDEBUG -Wall -Wno-sign-compare -Wno-unused-function'", + "cd ../..", "rm -rf ../../$(@D)/*", - "cp -R $$(pwd)/* ../../$(@D)/", + "cp -R ./external/com_github_danmar_cppcheck/cppcheck $(@)", ]) genrule(
