summaryrefslogtreecommitdiffstats
path: root/Help/cpack_gen
diff options
context:
space:
mode:
authorRodolfo Lima <rlima@nvidia.com>2021-01-18 18:28:46 (GMT)
committerRodolfo Lima <rlima@nvidia.com>2021-01-26 15:23:37 (GMT)
commitbdf30bdad8dfad258bbc8d387a91f66bee3d0c0f (patch)
tree7b818b22b22c9e35bd04e68a851b3d39cd70bf6f /Help/cpack_gen
parentbcdb5b52a06cb98bd09da7410488ff9d5617b27f (diff)
downloadCMake-bdf30bdad8dfad258bbc8d387a91f66bee3d0c0f.zip
CMake-bdf30bdad8dfad258bbc8d387a91f66bee3d0c0f.tar.gz
CMake-bdf30bdad8dfad258bbc8d387a91f66bee3d0c0f.tar.bz2
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
Diffstat (limited to 'Help/cpack_gen')
-rw-r--r--Help/cpack_gen/archive.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Help/cpack_gen/archive.rst b/Help/cpack_gen/archive.rst
index 98b24ea..b941812 100644
--- a/Help/cpack_gen/archive.rst
+++ b/Help/cpack_gen/archive.rst
@@ -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``