SHA256
3
0
forked from pool/zstd

Accepting request 942801 from home:dirkmueller:Factory

- update to 1.5.1:
  * perf: rebalanced compression levels, to better match the intended speed/level curve
  * perf: faster huffman decoder, using x64 assembly
  * perf: slightly faster high speed modes (strategies fast & dfast)
  * perf: improved binary size and faster compilation times
  * perf: new row64 mode, used notably in level 12
  * perf: faster mid-level compression speed in presence of highly repetitive patterns
  * perf: minor compression ratio improvements for small data at high levels
  * perf: reduced stack usage (mostly useful for Linux Kernel)
  * perf: faster compression speed on incompressible data
  * perf: on-demand reduced ZSTD_DCtx state size, using build macro ZSTD_DECODER_INTERNAL_BUFFER, at a small cost of performance
  * build: allows hiding static symbols in the dynamic library, using build macro
  * build: support for m68k (Motorola 68000's)
  * build: improved AIX support
  * build: improved meson unofficial build
  * cli : custom memory limit when training dictionary (#2925)
  * cli : report advanced parameters information when compressing in very verbose mode (``-vv`)

- force use of packed statements for arm platforms

OBS-URL: https://build.opensuse.org/request/show/942801
OBS-URL: https://build.opensuse.org/package/show/Archiving/zstd?expand=0&rev=69
This commit is contained in:
Martin Pluskal 2021-12-28 08:54:26 +00:00 committed by Git OBS Bridge
parent f7a8e14a61
commit 6895090f7c
7 changed files with 66 additions and 34 deletions

View File

@ -1,17 +1,17 @@
Index: zstd-1.4.7/programs/zstd.1 Index: zstd-1.5.1/programs/zstd.1
=================================================================== ===================================================================
--- zstd-1.4.7.orig/programs/zstd.1 --- zstd-1.5.1.orig/programs/zstd.1
+++ zstd-1.4.7/programs/zstd.1 +++ zstd-1.5.1/programs/zstd.1
@@ -223,6 +223,12 @@ Using environment variables to set param @@ -147,6 +147,12 @@ If input directory contains "\.\.", the
.P .IP "\[ci]" 4
They can both be overridden by corresponding command line arguments: \fB\-#\fR for compression level and \fB\-T#\fR for number of compression threads\. \fB\-\-\fR: All arguments after \fB\-\-\fR are treated as files
. .IP "" 0
+.SH Parallel Zstd OPTIONS +.SS Parallel Zstd OPTIONS
+Additional options for the pzstd utility +Additional options for the pzstd utility
+.TP +.TP
+.BR \-p ", " --processes +\fB\-p\fR, \fB\-\-processes\fR
+ number of threads to use for (de)compression (default:4) + number of threads to use for (de)compression (default:4)
+. +.
.SH "DICTIONARY BUILDER" .SS "Restricted usage of Environment Variables"
\fBzstd\fR offers \fIdictionary\fR compression, which greatly improves efficiency on small files and messages\. It\'s possible to train \fBzstd\fR with a set of samples, the result of which is saved into a file called a \fBdictionary\fR\. Then during compression and decompression, reference the same dictionary, using command \fB\-D dictionaryFileName\fR\. Compression of small files similar to the sample set will be greatly improved\. Using environment variables to set parameters has security implications\. Therefore, this avenue is intentionally restricted\. Only \fBZSTD_CLEVEL\fR and \fBZSTD_NBTHREADS\fR are currently supported\. They set the compression level and number of threads to use during compression, respectively\.
. .P

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5194fbfa781fcf45b98c5e849651aa7b3b0a008c6b72d4a0db760f3002291e94
size 1851389

View File

@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQJFBAADCAAvFiEETvSsY0VfyfRUXZt974/plSi1L/0FAmCetpsRHHNpZ25pbmdA
enN0ZC5uZXQACgkQ74/plSi1L/35IA/+K6cAjoErVr92dvObAAtXpel+5VBixWjE
fxC7c5PDc4iU/KX4I3Jy9UqaM89roYil0C80K69/5NUIYksr6KZ+Ky+8nNrfmJtn
bbXDF5xEpHuYZl3+0YQaRx85R+bVfe7Zg5BK9JiqRBAQ5ViQBtIeV8Qm52e9Y2qM
zqEqzOWQKnDQITry0vOntl2YDrNOt/LkL0g8jqJpgjpOaCeITbHelg4iH+GZswTo
Nzm4CKqtW6pmdiIfw8s4+/2jzjeGx4WqfoXgn/NHu00pbGjL7o5A0Aa97PX1qIrN
kj9edtt5yOcq68FqZvDnJLS72z1E/RbHabmqUH/gXhK80t/FA0OeB/Cqk8HheN8F
V5nXsJCjbLuu0uCRmdwWAqFK4yCBcEfC6zDs/K2kXdJsZ7sU9sACwRhOGp3JkUyB
9u17n3qLBlNcK13/1t7EJZ3F5hv+uXwfbttSSkKZ81b10S6+KgD7L0sVZT8HpUEO
B+uf3mxII/HU08AV1oAq9B12tJvcP9i/hNHCEmb11PMMVbXuIrBlE1Tcb8nB+Jlr
t9NL+lYdkZ36zxqZO7FVPoUSloPDWVRfaATY0Bde6DI27yCQzMV8XJ8a8+4yrrSN
Yybb2AJMvumP6vf1NZ1rwR84/ZjntCOM5B9KCKJE1IY5usRWAXP0Y447xPPKo/eZ
W/aDitqa1N8=
=BVY7
-----END PGP SIGNATURE-----

3
zstd-1.5.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e28b2f2ed5710ea0d3a1ecac3f6a947a016b972b9dd30242369010e5f53d7002
size 1934669

17
zstd-1.5.1.tar.gz.sig Normal file
View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
iQJFBAADCgAvFiEETvSsY0VfyfRUXZt974/plSi1L/0FAmHBIyoRHHNpZ25pbmdA
enN0ZC5uZXQACgkQ74/plSi1L/0eYA/6AxWBhURFeDFWg+iS83skZEdTWe7xlp8a
8JXuGTxgfts9ZP/IVxi3q4hPCVdsS54Wo0OzMkfWsNxCl84nI3LHH1rP2TdCjHh/
EEwYA4fuKCdV7JO9fTVhg1INTSaKAghh/0ZYcJYw+PQ0TTTBVPHx4cAMustGzI8F
nxQkjJltQAI14nkCsELXMZhYlFY7ytF4j9+kGM1ZzuJPmMi6AlmMYRUmHjCNKqgj
bWC4SSOayfB2CAgrDVC4Vs/gCkVEA/YNeIv0I9QfOlU1C9ogagFiRGpB0jwdUgbz
14nucSicYaCAkQLBxDxSe9iFWpIyaFE3BisrhxWIDJlsp7tHA2VtlqFdWye7MuIF
HYi/UfjutivGxvD9hJNIrrHv7KnzTNLCJ5/sJGT55DTV5BngUtMrBLoCEezkn/Qj
uLe2bsvVZpAO1eY22lE3Alg9NgzIy1JkdZ3zJSyG0HNGXs4ds3qOsKAIihFvl2tY
H+BAFEpN1sUbBsgKq/fEv+I9Jfjxp9vmbS41M72cKb2VelZbCKy4AispOlzTmoqU
VK7nZR8ur9dXIzijz1Yf51cAzF1SFFiqg+ffTjXQ3JC8bmGHzJoxR42vONdbwD3B
3jUX25Cifu08IRlgPlDd3dWmNu8jmeLE6XVIf1r5iKcQWL87hkQ0XtLy9AZG8KfT
ud6ml4p7RIQ=
=C+Ki
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Mon Dec 27 14:59:02 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 1.5.1:
* perf: rebalanced compression levels, to better match the intended speed/level curve
* perf: faster huffman decoder, using x64 assembly
* perf: slightly faster high speed modes (strategies fast & dfast)
* perf: improved binary size and faster compilation times
* perf: new row64 mode, used notably in level 12
* perf: faster mid-level compression speed in presence of highly repetitive patterns
* perf: minor compression ratio improvements for small data at high levels
* perf: reduced stack usage (mostly useful for Linux Kernel)
* perf: faster compression speed on incompressible data
* perf: on-demand reduced ZSTD_DCtx state size, using build macro ZSTD_DECODER_INTERNAL_BUFFER, at a small cost of performance
* build: allows hiding static symbols in the dynamic library, using build macro
* build: support for m68k (Motorola 68000's)
* build: improved AIX support
* build: improved meson unofficial build
* cli : custom memory limit when training dictionary (#2925)
* cli : report advanced parameters information when compressing in very verbose mode (``-vv`)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 14 20:34:25 UTC 2021 - Ismail Dönmez <ismail@i10z.com> Fri May 14 20:34:25 UTC 2021 - Ismail Dönmez <ismail@i10z.com>
@ -15,6 +36,11 @@ Tue May 11 18:28:45 UTC 2021 - Bernhard Wiedemann <bwiedemann@suse.com>
- Add zstd-1.4.9-Avoid-SIGBUS-on-armv6.patch - Add zstd-1.4.9-Avoid-SIGBUS-on-armv6.patch
to fix crashes when running armv6 userspace on armv8 64-bit kernels to fix crashes when running armv6 userspace on armv8 64-bit kernels
-------------------------------------------------------------------
Mon May 10 16:09:04 UTC 2021 - Dirk Müller <dmueller@suse.com>
- force use of packed statements for arm platforms
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Mar 4 01:36:14 UTC 2021 - Bernhard Wiedemann <bwiedemann@suse.com> Thu Mar 4 01:36:14 UTC 2021 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@ -19,7 +19,7 @@
%define major 1 %define major 1
%define libname lib%{name}%{major} %define libname lib%{name}%{major}
Name: zstd Name: zstd
Version: %{major}.5.0 Version: %{major}.5.1
Release: 0 Release: 0
Summary: Zstandard compression tools Summary: Zstandard compression tools
License: BSD-3-Clause AND GPL-2.0-only License: BSD-3-Clause AND GPL-2.0-only
@ -47,6 +47,9 @@ compression than gzip. For roughly the same time, zstd achives a
~12%% better ratio than gzip. LZMA outperforms zstd by ~10%% faster ~12%% better ratio than gzip. LZMA outperforms zstd by ~10%% faster
compression for same ratio, or ~14%% size reduction for same time. compression for same ratio, or ~14%% size reduction for same time.
# This compression summary is based on https://lists.opensuse.org/opensuse-factory/2019-05/msg00344.html # This compression summary is based on https://lists.opensuse.org/opensuse-factory/2019-05/msg00344.html
%package -n %{libname} %package -n %{libname}
@ -89,7 +92,10 @@ Needed for compiling programs that link with the library.
%build %build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects %global _lto_cflags %{_lto_cflags} -ffat-lto-objects
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags} -std=c++11" %ifarch armv6l armv6hl
export CFLAGS+="-DMEM_FORCE_MEMORY_ACCESS=1"
%endif
export CXXFLAGS="$CFLAGS -std=c++11"
# lib-mt is alias for multi-threaded library support # lib-mt is alias for multi-threaded library support
%make_build -C lib lib-mt %make_build -C lib lib-mt
for dir in programs contrib/pzstd; do for dir in programs contrib/pzstd; do