[PATCH] src-release.sh: Support zstd compression
Mark Wielaard
mark@klomp.org
Tue May 28 16:13:09 GMT 2024
Hi Sam,
On Tue, 2024-05-28 at 13:23 +0100, Sam James wrote:
> Mark Wielaard <mark@klomp.org> writes:
> > My goal was to see if .zst could/should replace the .xz archives for
> > the snapshots on https://snapshots.sourceware.org/ which currently
> > only produce .xz archives.
>
> We don't currently support zstd everywhere on our end for distfiles so
> fully replacing it would be a pain (so please keep xz as an option at
> least).
OK, then we just keep xz.
Do you think full zstd support will eventually happen?
I like to at least add support for generating them because I think they
are slightly nicer than xz archives. About the same size/compression,
but using less resources, cpu at least:
$ time unxz ./binutils-2.42.50.tar.xz
real 0m1.374s
user 0m1.289s
sys 0m0.082s
$ time unzstd ./binutils-2.42.50.tar.zst
./binutils-2.42.50.tar.zst: 333670400 bytes
real 0m0.228s
user 0m0.231s
sys 0m0.082s
Admittedly it is just a second, but if you do 60 CI builds a day, then,
ehe, you saved a minute...
Cheers,
Mark
More information about the Binutils
mailing list