Show Table of Contents
Multi-threaded
Chapter 41. Installation and Booting
Multi-threaded xz
compression in rpm-build
Compression can take long time for highly parallel builds as it currently uses only one core. This is problematic especially for continuous integration of large projects that are built on hardware with many cores.
This feature, which is provided as a Technology Preview, enables multi-threaded
xz
compression for source and binary packages when setting the %_source_payload
or %_binary_payload
macros to the wLTX.xzdio
pattern . In it, L
represents the compression level, which is 6 by default, and X
is the number of threads to be used (may be multiple digits), for example w6T12.xzdio
. This can be done by editing the /usr/lib/rpm/macros
file or by declaring the macro within the spec file or at the command line. (BZ#1278924)
Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.