diff options
author | Brad King <brad.king@kitware.com> | 2024-03-06 16:16:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-03-10 15:41:39 (GMT) |
commit | 5de1e21659090ca83e39e223d351e353347eb88e (patch) | |
tree | 1f618443c6abf98712619a5cb33a35c64439ab74 /Help/release | |
parent | bbcbcff7d94bb3dd4b47ed5484207dc960911f4c (diff) | |
download | CMake-5de1e21659090ca83e39e223d351e353347eb88e.zip CMake-5de1e21659090ca83e39e223d351e353347eb88e.tar.gz CMake-5de1e21659090ca83e39e223d351e353347eb88e.tar.bz2 |
ctest: Allow passing -j without value to choose a contextual default
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
Diffstat (limited to 'Help/release')
-rw-r--r-- | Help/release/3.29.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/release/3.29.rst b/Help/release/3.29.rst index 659237e..42f6491 100644 --- a/Help/release/3.29.rst +++ b/Help/release/3.29.rst @@ -150,6 +150,12 @@ CTest * :manual:`ctest(1)` now supports :ref:`job server integration <ctest-job-server-integration>` on POSIX systems. +* The :option:`ctest -j` option may now be given without a value to let + ctest choose a default level of parallelism, or with ``0`` to let ctest + use unbounded parallelism. The corresponding :envvar:`CTEST_PARALLEL_LEVEL` + environment variable, if set to the empty string, is now equivalent to + passing ``-j`` with no value. + * The :command:`ctest_test` command gained options ``INCLUDE_FROM_FILE`` and ``EXCLUDE_FROM_FILE`` to run or exclude tests named in a file. |