[Rpm-maint] [rpm-software-management/rpm] Does not the rpmbuild command execute (de)compression of files in parallel? (#113)
Geunsik Lim
notifications at github.com
Thu Feb 2 08:28:30 UTC 2017
> It is the decision of the distributions to support them and change the macros accordingly.
> Upstream may follow the consensus of the distributions later.
Right. However, I hope that rpm upstream will enable multi threaded xz compression by default for them. :) For example,
```
# https://fedoraproject.org/wiki/Features/XZRpmPayloads
%define _compression_level 7
%define _smp_mflags -j%(echo "`/usr/bin/getconf _NPROCESSORS_ONLN`")
%_source_payload w%{_compression_level}T%{_smp_mflags}.xzdio
%_binary_payload w%{_compression_level}T%{_smp_mflags}.xzdio
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/113#issuecomment-276896275
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170202/e8a7e52e/attachment-0001.html>
More information about the Rpm-maint
mailing list