Zstd, short for Zstandard, is a lossless compression algorithm,
targeting faster compression than zlib at comparable ratios.
Needed for compiling programs that link with the library.
Provides
Requires
License
BSD-3-Clause AND GPL-2.0-only
Changelog
* Tue Aug 11 2026 Martin Pluskal <mpluskal@suse.com>
- Move the tests into a multibuild flavor:
* speed up build from 1092s to 167s - important for bootstrap
* only apply the constraint to tests for faster scheduling
* Fri Jul 17 2026 Bernhard Wiedemann <bwiedemann@suse.de>
- Cleanup .spec file
* Mon Mar 09 2026 Justin Hales <justindhales@gmail.com>
- Backport 1.5.7 man page patch
* Documentation was not correctly updated at release time
* https://github.com/facebook/zstd/commit/6af3842
Add 0002-fix-1.5.7-documentation.patch
* Tue Mar 25 2025 Christophe Marin <christophe@krop.fr>
- Add patch (non-upstreamable):
* 0001-Don-t-export-libzstd_static-CMake-target.patch
* Sat Mar 01 2025 Marcus Rueckert <mrueckert@suse.de>
- build with cmake as it is needed for building blender 4.4
this should not be a problem any more as cmake:mini is in ring0
* Thu Feb 20 2025 Bernhard Wiedemann <bwiedemann@suse.de>
- update to 1.5.7:
* zstd now employs multiple threads by default
* Fix a rare bug in 32-bit mode
* Enhanced Compression Speed for Small Data Blocks
* Substantial --patch-from performance improvements
- Drop pzstd.1.patch - not upstream, but also not needed
* Thu Mar 28 2024 Andreas Stieger <andreas.stieger@gmx.de>
- update to 1.5.6:
* Introduce a new stable parameter ZSTD_c_targetCBlockSize,
enabling the division of blocks into smaller segments to
enhance initial byte delivery speed for congested networks
* library allows allow ganular binary size selection
- drop zstd-pr-3961.patch, merged upstream
* Thu Mar 14 2024 Guillaume GARDET <guillaume.gardet@opensuse.org>
- Backport PAC/BTI fix for aarch64
https://github.com/facebook/zstd/pull/3961 :
* zstd-pr-3961.patch
* Fri Dec 29 2023 ecsos <ecsos@opensuse.org>
- Disable build of gzip for Leap 15.x to fix build error.
* Thu May 25 2023 Ben Greiner <code@bnavigator.de>
- Revert the addition of build specific cmake files: breaks
gdal, apache-arrow and possibly others -- boo#1211566
* note that shipping cmake files is not intentional or supported
upstream at the moment: gh#facebook/zstd#3642
* Wed May 10 2023 Bernhard Wiedemann <bwiedemann@suse.com>
- Add cmake files manually because we do not want to add
cmake to the bootstrap ring0
* Thu Apr 13 2023 Dirk Müller <dmueller@suse.com>
- update to 1.5.5:
* fix: fix rare corruption bug affecting the high compression
mode, reported by @danlark1
* perf: improve mid-level compression speed
* lib: deprecated bufferless block-level API (#3534) by
@terrelln
* cli: mmap large dictionaries to save memory, by
@daniellerozenblit
* cli: improve speed of --patch-from mode (~+50%) (#3545) by
@daniellerozenblit
* cli: improve i/o speed (~+10%) when processing lots of small
files (#3479) by @felixhandte
* cli: zstd no longer crashes when requested to write into
write-protected directory (#3541) by @felixhandte
* cli: fix decompression into block device using -o, reported
by @georgmu
* misc: improve seekable format ingestion speed (~+100%) for
very small chunk sizes (#3544) by @Cyan4973
* misc: tests/fullbench can benchmark multiple files (#3516) by
@dloidolt
* Wed Mar 08 2023 Martin Pluskal <mpluskal@suse.com>
- Build AVX2 enabled hwcaps library for x86_64-v3
* Fri Feb 10 2023 Bernhard Wiedemann <bwiedemann@suse.com>
- update to 1.5.4:
* perf: +20% faster huffman decompression for targets that
can't compile x64 assembly
* perf: up to +10% faster streaming compression at levels 1-2
* perf: +4-13% for levels 5-12 by optimizing function
generation
* pref: +3-11% compression speed for `arm` target
* perf: +5-30% faster dictionary compression at levels 1-4
* perf: +10-20% cold dict compression speed by prefetching
CDict tables
* perf: +1% faster compression by removing a branch in
ZSTD_fast_noDict
* perf: Small compression ratio improvements in high
compression mode
* perf: small speed improvement by better detecting
`STATIC_BMI2` for `clang`
* perf: Improved streaming performance when
`ZSTD_c_stableInBuffer` is set
* cli: Asynchronous I/O for improved cli speed
* cli: Change `zstdless` behavior to align with `zless`
* cli: Keep original file if `-c` or `--stdout` is given
* cli: Keep original files when result is concatenated into a
single output with `-o`
* cli: Preserve Permissions and Ownership of regular files
* cli: