Skip to content

Commit b49265f

Browse files
committed
Set clang-tidy jobs to processor count
1 parent a29cb64 commit b49265f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,10 @@ if(BUILD_TESTING)
173173
)
174174
endif()
175175

176+
include(ProcessorCount)
177+
processorcount(N)
178+
set(ament_cmake_clang_tidy_JOBS ${N})
179+
176180
ament_lint_auto_find_test_dependencies()
177181
endif()
178182

0 commit comments

Comments
 (0)