mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 06:40:48 -06:00
Under job server integration, added by commit 80fe56c481 (ctest: Add
support for running under a make job server on POSIX systems,
2023-11-15, v3.29.0-rc1~324^2), use a very high default so that
parallelism is effectively limited only by available job server tokens.
Otherwise, choose a default limit based on the number of processors.
Also allow passing `0` to specify unbounded parallelism.
Fixes: #25739
12 lines
181 B
Makefile
12 lines
181 B
Makefile
NoPipe:
|
|
env MAKEFLAGS= $(CMAKE_CTEST_COMMAND) -j0
|
|
.PHONY: NoPipe
|
|
|
|
NoTests:
|
|
+$(CMAKE_CTEST_COMMAND) -j -R NoTests
|
|
.PHONY: NoTests
|
|
|
|
Tests:
|
|
+$(CMAKE_CTEST_COMMAND) -j
|
|
.PHONY: Tests
|