Tools: add --jobs arguments to clang checker and code-clean tool

Setting jobs to one is useful for debugging, reducing the number
of threads can be useful for code_clean as a background task.
This commit is contained in:
Campbell Barton
2023-07-20 23:57:26 +10:00
parent 537c585aa6
commit b1daf6bfad
3 changed files with 53 additions and 18 deletions

View File

@@ -474,7 +474,7 @@ check_struct_comments: .FORCE
@cd "$(BUILD_DIR)" ; \
$(PYTHON) \
"$(BLENDER_DIR)/build_files/cmake/cmake_static_check_clang.py" \
--checks=struct_comments --match=".*"
--checks=struct_comments --match=".*" --jobs=$(NPROCS)
check_clang_array: .FORCE
@$(CMAKE_CONFIG)