[Rpm-maint] [PATCH] support for multi-threaded compressors

Thierry Vignaud thierry.vignaud at gmail.com
Fri Aug 28 12:30:09 UTC 2015


On 28 August 2015 at 13:42, fredrik <fredrik at skri.net> wrote:
> Objectives of this patch is to speed up the compression in rpmbuild. To
> achieve this, the patch implements support for a new compressor, functioning
> as an interface against external (multi-threaded) compressors. The main
> issue with these external compressor-wrappers is the lack of libraries (i.e.
> gzwrite, lzwrite). There's no corresponding functions for PIGZ, PBZIP2, PXZ
> etc. The new compressor has been written to as closely as possible emulate
> these functions, while piping the data from Fwrite to an external process,
> reading any data from the (external) compressor to prevent buffer overflows
> and/or excessive memory usage. To use pigz (instead of gzip) just add to the
> spec-file:
> %define _source_payload w9.pigzdio
> %define _binary_payload w9.pigzdio
> and for pxz (instead of xz):
> %define _source_payload w9.pxzdio
> %define _binary_payload w9.pxzdio

There's lot of gratuitous space/indent changes there.
Please remove them...


More information about the Rpm-maint mailing list