[pacman-dev] Feature: -T0 flag as default ZSTDCOMPRESSION arg

Allan McRae allan at archlinux.org
Tue Feb 9 23:30:54 UTC 2021


On 10/2/21 8:10 am, Frederik Enste wrote:
> Hello pacman devs,
> 
> today I installed a big package from the AUR on a clean system and
> forgot to adjust the makepkg.conf beforehand.
> As makepkg.conf is set up to compresses all packages with zstd before
> installing them onto the system the compression took a while.
> 
> Because of that, I would like to add the -T0 flag to the list of default
> ZSTCOMPRESSION args.
> This would allow zstd to spawn multiple compression flags (equal to the
> number of physical processors) and thus speed up package compression.
> 
> I have created a simple patch for this feature but as this is my first
> contribution to this project I am not entirely sure that I adjusted all
> necessary files:
> 

This list is about the development of pacman, not the packaging of
pacman for Arch Linux.   In the example makepkg.conf provided in the
pacman source, we provide simple examples.  Distributions are free to
adjust that as needed.

Allan


More information about the pacman-dev mailing list