makepkg.conf: use all possible threads for xz compression
Since version 5.4, xz always uses "multithreaded mode" for -T0
, making
its output reproducible. This means it is possible to add the option to
COMPRESSXZ
without causing reproducibility issues.
See https://git.tukaani.org/?p=xz.git;a=commitdiff;h=0adc13bfe32c14f3e4c6ce9f2d4fdf4112ab53f4
Merge request reports
Activity
Thanks for proposing this change! As XZ compression is not used in devtools anymore we will drop it soon and I think it would make more sense to propose this change in the userfacing upstream pacman
makepkg.conf
and our downstream version of it in the pacman package (similar to the bzr -> breezy changes (pacman/pacman!78 (merged) & archlinux/packaging/packages/pacman!2 (merged))).pacman doesn't even have multi-threaded compression for zstd, so I'm no sure it's a wanted feature upstream.
I have no access to that.
I have no access to that.
I think then opening a feature report for the package is the way to go!
The linked merge request just proposed adding this (now merged) commit: archlinux/packaging/packages/pacman@c68a4e66
added resolutionupstream scopeenhancement labels
mentioned in commit gromit/devtools@2164a75f
mentioned in merge request !196 (closed)
Looks like this will not be needed in the future. From https://github.com/tukaani-project/xz/releases/tag/v5.5.1alpha:
* xz: - Multithreaded mode is now the default. This improves compression speed and creates .xz files that can be decompressed multithreaded at the cost of increased memory usage and slightly worse compression ratio.