]> https://gitweb.dealii.org/ - dealii.git/commitdiff
clang-tidy: only debug mode 7916/head
authorTimo Heister <timo.heister@gmail.com>
Thu, 11 Apr 2019 22:47:35 +0000 (16:47 -0600)
committerTimo Heister <timo.heister@gmail.com>
Thu, 11 Apr 2019 22:47:35 +0000 (16:47 -0600)
I don't think it makes sense to also compile in release mode for the
tidy checks. This change should speed up the CI tester as well.

contrib/utilities/run_clang_tidy.sh

index d013f56639478992de0730526e64c59426581b0c..70dc612c662129ca2f261e4ae0a35ddba4f9b6f1 100755 (executable)
@@ -43,7 +43,7 @@ echo "SRC-DIR=$SRC"
 
 # enable MPI (to get MPI warnings)
 # export compile commands (so that run-clang-tidy.py works)
-ARGS=("-D" "DEAL_II_WITH_MPI=ON" "-D" "CMAKE_EXPORT_COMPILE_COMMANDS=ON" "$@")
+ARGS=("-D" "DEAL_II_WITH_MPI=ON" "-D" "CMAKE_EXPORT_COMPILE_COMMANDS=ON" "-D" "CMAKE_BUILD_TYPE=Debug" "$@")
 
 # for a list of checks, see /.clang-tidy
 cat "$SRC/.clang-tidy"

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.