mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-24 00:39:03 -05:00
CPack: add CPACK_THREADS variable to control compression threads
This allows setting how many threads the compressor will use. Currently only implemented for XZ when using system's lzma library. Fixes: #21715
This commit is contained in:
@@ -80,6 +80,8 @@ CPack generators which are essentially archives at their core. These include:
|
||||
not all compression modes support threading in all environments. Currently,
|
||||
only the XZ compression may support it.
|
||||
|
||||
See also the :variable:`CPACK_THREADS` variable.
|
||||
|
||||
.. note::
|
||||
|
||||
Official CMake binaries available on ``cmake.org`` ship with a ``liblzma``
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
cpack-compression-threads
|
||||
-------------------------
|
||||
|
||||
* :module:`CPack` gained the :variable:`CPACK_THREADS` variable to
|
||||
control the number of threads used for parallelized operations,
|
||||
such as compressing the installer package.
|
||||
Reference in New Issue
Block a user