summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-07-02 12:26:41 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-07-02 12:27:09 (GMT)
commit1582aba95e64db89fdd51f46e52a476d38c65ec6 (patch)
tree56f1c61506d2d54a35d088f2ac74562908e8a6f6 /Help
parent40ed14a88b21385daebf9526904d3b09731216fb (diff)
parentfab5c030ad5e8fa30cfd407b0e440e05ca091559 (diff)
downloadCMake-1582aba95e64db89fdd51f46e52a476d38c65ec6.zip
CMake-1582aba95e64db89fdd51f46e52a476d38c65ec6.tar.gz
CMake-1582aba95e64db89fdd51f46e52a476d38c65ec6.tar.bz2
Merge topic 'cpack-rpm-zstd-compression'
fab5c030ad CPack/RPM: Add zstd compression support a25be17bc4 CPack/RPM: emit error on invalid CPACK_RPM_COMPRESSION_TYPE 7e21412f47 CPack/RPM: fix whitespace alignment prior to editing e0b73a32c1 Help: Clarify using CPACK_THREADS as default Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9632
Diffstat (limited to 'Help')
-rw-r--r--Help/cpack_gen/archive.rst8
-rw-r--r--Help/cpack_gen/rpm.rst10
-rw-r--r--Help/release/dev/cpack-rpm-zstd.rst5
3 files changed, 14 insertions, 9 deletions
diff --git a/Help/cpack_gen/archive.rst b/Help/cpack_gen/archive.rst
index 7f7921d..5836f91 100644
--- a/Help/cpack_gen/archive.rst
+++ b/Help/cpack_gen/archive.rst
@@ -91,14 +91,10 @@ CPack generators which are essentially archives at their core. These include:
.. versionadded:: 3.18
- :Default: ``1``
+ :Default: value of :variable:`CPACK_THREADS`
If set to ``0``, the number of available cores on the machine will be used instead.
- The default is ``1`` which limits compression to a single thread. Note that
- 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 that not all compression modes support threading in all environments.
.. versionadded:: 3.21
diff --git a/Help/cpack_gen/rpm.rst b/Help/cpack_gen/rpm.rst
index 4a2ce5f..ebd3766 100644
--- a/Help/cpack_gen/rpm.rst
+++ b/Help/cpack_gen/rpm.rst
@@ -246,9 +246,8 @@ List of CPack RPM generator specific variables:
:Default: (system default)
May be used to override RPM compression type to be used to build the
- RPM. For example some Linux distribution now default to ``lzma`` or ``xz``
- compression whereas older cannot use such RPM. Using this one can enforce
- compression type to be used.
+ RPM. For example some Linux distributions default to ``xz`` or ``zstd``.
+ Using this, one can specify a specific compression type to be used.
Possible values are:
@@ -264,6 +263,11 @@ List of CPack RPM generator specific variables:
``gzip``
GNU Gzip compression
+ ``zstd``
+ .. versionadded:: 3.31
+
+ Zstandard compression
+
.. variable:: CPACK_RPM_PACKAGE_AUTOREQ
CPACK_RPM_<component>_PACKAGE_AUTOREQ
diff --git a/Help/release/dev/cpack-rpm-zstd.rst b/Help/release/dev/cpack-rpm-zstd.rst
new file mode 100644
index 0000000..828d5f6
--- /dev/null
+++ b/Help/release/dev/cpack-rpm-zstd.rst
@@ -0,0 +1,5 @@
+cpack-rpm-zstd
+--------------
+
+* The :cpack_gen:`CPack RPM Generator` gained support for ``zstd`` as a
+ :variable:`CPACK_RPM_COMPRESSION_TYPE` value.