Skip to content

Commit

Permalink
ci: Minor cppcheck speedup (#4268)
Browse files Browse the repository at this point in the history
  • Loading branch information
lrstewart authored Oct 28, 2023
1 parent 1dc74a5 commit 95753f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion codebuild/bin/install_cppcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ cd "$INSTALL_DIR"
git clone --branch 2.3 --depth 1 https://github.com/danmar/cppcheck.git cppcheck-src
cd cppcheck-src

make -j $JOBS
# See https://github.com/danmar/cppcheck#gnu-make for build recommendations
make -j $JOBS MATCHCOMPILER=yes CXXFLAGS="-O2 -DNDEBUG -Wall -Wno-sign-compare -Wno-unused-function"

mv cppcheck ..
mv cfg ..
Expand Down

0 comments on commit 95753f0

Please sign in to comment.