cppcheck: Enable multi-threaded checking
Change-Id: I75c103e8e27af746b8cd1dc98ccd83dbc82926d5
Signed-off-by: Amjad Ouled-Ameur <amjad.ouled-ameur@arm.com>
diff --git a/run-cppcheck.sh b/run-cppcheck.sh
index 604f657..b2b5f68 100755
--- a/run-cppcheck.sh
+++ b/run-cppcheck.sh
@@ -182,7 +182,7 @@
else
trap cppcheck_failed ERR
fi
-CPPCHECK_ARGS="$EXTRA_ARGS --enable="$additional_checklist" --library="$library_file" --project=$cmake_commands --suppressions-list="$suppress_file" --inline-suppr"
+CPPCHECK_ARGS="$EXTRA_ARGS --enable="$additional_checklist" --library="$library_file" --project=$cmake_commands --suppressions-list="$suppress_file" --inline-suppr -j 8"
#Now run cppcheck.
echo