- Update to version 1.5.0
* https://github.com/facebook/zstd/releases/tag/v1.5.0 * Improved Middle-Level Compression Speed * Improved High-Level Compression Ratio * Faster Decompression Speed * Dynamic Library Supports Multithreading by Default - Drop zstd-1.4.9-Avoid-SIGBUS-on-armv6.patch, merged upstream OBS-URL: https://build.opensuse.org/package/show/Archiving/zstd?expand=0&rev=62
This commit is contained in:
parent
f9691d0b47
commit
8d75d596b5
@ -1,51 +0,0 @@
|
||||
https://github.com/facebook/zstd/pull/2633
|
||||
|
||||
From 28d0120b5ac62b56cd858bd46480c73730d044b4 Mon Sep 17 00:00:00 2001
|
||||
From: "Bernhard M. Wiedemann" <bwiedemann@suse.de>
|
||||
Date: Tue, 11 May 2021 17:46:55 +0200
|
||||
Subject: [PATCH] Avoid SIGBUS on armv6
|
||||
|
||||
When running armv6 userspace on armv8 hardware with a 64 bit Linux kernel,
|
||||
the mode 2 caused SIGBUS (unaligned memory access).
|
||||
Running all our arm builds in the build farm
|
||||
only on armv8 simplifies administration a lot.
|
||||
|
||||
Depending on compiler and environment, this change might slow down
|
||||
memory accesses (did not benchmark it). The original analysis is 6 years old.
|
||||
|
||||
Fixes #2632
|
||||
---
|
||||
lib/common/mem.h | 4 +---
|
||||
lib/common/xxhash.c | 4 +---
|
||||
2 files changed, 2 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/lib/common/mem.h b/lib/common/mem.h
|
||||
index dc6667c68b..9f3b81ab9d 100644
|
||||
--- a/lib/common/mem.h
|
||||
+++ b/lib/common/mem.h
|
||||
@@ -143,9 +143,7 @@ MEM_STATIC size_t MEM_swapST(size_t in);
|
||||
* Prefer these methods in priority order (0 > 1 > 2)
|
||||
*/
|
||||
#ifndef MEM_FORCE_MEMORY_ACCESS /* can be defined externally, on command line for example */
|
||||
-# if defined(__GNUC__) && ( defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__) || defined(__ARM_ARCH_6T2__) )
|
||||
-# define MEM_FORCE_MEMORY_ACCESS 2
|
||||
-# elif defined(__INTEL_COMPILER) || defined(__GNUC__) || defined(__ICCARM__)
|
||||
+# if defined(__INTEL_COMPILER) || defined(__GNUC__) || defined(__ICCARM__)
|
||||
# define MEM_FORCE_MEMORY_ACCESS 1
|
||||
# endif
|
||||
#endif
|
||||
diff --git a/lib/common/xxhash.c b/lib/common/xxhash.c
|
||||
index 0ddbf13a39..926b33604e 100644
|
||||
--- a/lib/common/xxhash.c
|
||||
+++ b/lib/common/xxhash.c
|
||||
@@ -30,9 +30,7 @@
|
||||
* Prefer these methods in priority order (0 > 1 > 2)
|
||||
*/
|
||||
#ifndef XXH_FORCE_MEMORY_ACCESS /* can be defined externally, on command line for example */
|
||||
-# if defined(__GNUC__) && ( defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__) || defined(__ARM_ARCH_6T2__) )
|
||||
-# define XXH_FORCE_MEMORY_ACCESS 2
|
||||
-# elif (defined(__INTEL_COMPILER) && !defined(WIN32)) || \
|
||||
+# if (defined(__INTEL_COMPILER) && !defined(WIN32)) || \
|
||||
(defined(__GNUC__) && ( defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7R__) || defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7S__) )) || \
|
||||
defined(__ICCARM__)
|
||||
# define XXH_FORCE_MEMORY_ACCESS 1
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:acf714d98e3db7b876e5b540cbf6dee298f60eb3c0723104f6d3f065cd60d6a8
|
||||
size 1834843
|
3
zstd-1.5.0.tar.gz
Normal file
3
zstd-1.5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5194fbfa781fcf45b98c5e849651aa7b3b0a008c6b72d4a0db760f3002291e94
|
||||
size 1851389
|
17
zstd-1.5.0.tar.gz.sig
Normal file
17
zstd-1.5.0.tar.gz.sig
Normal file
@ -0,0 +1,17 @@
|
||||
-----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-----
|
11
zstd.changes
11
zstd.changes
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 14 20:34:25 UTC 2021 - Ismail Dönmez <ismail@i10z.com>
|
||||
|
||||
- Update to version 1.5.0
|
||||
* https://github.com/facebook/zstd/releases/tag/v1.5.0
|
||||
* Improved Middle-Level Compression Speed
|
||||
* Improved High-Level Compression Ratio
|
||||
* Faster Decompression Speed
|
||||
* Dynamic Library Supports Multithreading by Default
|
||||
- Drop zstd-1.4.9-Avoid-SIGBUS-on-armv6.patch, merged upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 11 18:28:45 UTC 2021 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||
|
||||
|
46
zstd.keyring
Normal file
46
zstd.keyring
Normal file
@ -0,0 +1,46 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
mQINBGBHFsYDEADO1/NR1gJfA9qejrQB3Z/9hu2CXHU+dCmkXux+g7Q/r+UvFGzDrV9PezC4
|
||||
cjftkKuQcfnnWZ57WbFnMnlmWiFVpLbO9cBV9D01/ld9XwmcVE917bBkjhY5PkBfFPtH8q0V
|
||||
8In+VXobqDNEyQsh08vzGmuww1Basra2xMk+jwB6k2x1/rco1olxVLVgJOU3O0Utrsj2gzj/
|
||||
/f33r5iL9R0khMZRtN95uxMvAik8SqCdJCK69SdMw1fSixDwMOaf1BMzEhRbe9nZ/b7M0cLa
|
||||
tnyZnthopEqxM4UbIvdnG20Io+QjLRoc8i+OkoZ6AOshVsDqyLYg4qqYu6+M9ur82S+yes/V
|
||||
XbjxZYCfNw7KvuRqeUFgQgEegv10sB7ZGvSeSFXxTnG0cY/t4ggqMi/OLr7uGHcxOPtjVYeU
|
||||
H1YKrAIHtuDGWK2gvTGy4jhnOLmym9IM+3Deix3/aXYsuU2ijprf6LqmqYKcjpFrq8UchLV3
|
||||
pdWfggoIfESpZboFl5dVva+SSZrKiUQ1D7CmCWHFYmMUrKhxiUPq5T3ksCyokCyJ2RDwG4ry
|
||||
zhHUO7LU9SSOcY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p8eB
|
||||
7nzXBxgtlEdTD4zG8PqqtBOvtjeV8AJHyE+8M0XQowRYT95JzGwTf3HcWp0bYKwcyQlZoV4b
|
||||
uQAVSvp3AYv2zzyvAkgwVzRUOPEScmukq0n6ZdkHT8HfNQdOFehsODCxKsFsUSDd8wjyzLyA
|
||||
iv3tBBVnBVf/YKKRMTYc/m+NtgR6rA1feab2hlOFZpYHLquDtDH5cC/iozF2YArUJWCy+3VF
|
||||
LgatSqHanWLj6g+yYpHJVeoew+hHcu1A3a66AX7PM8OTTUIcY+xaYFOraZP445NdPS5aT2hh
|
||||
/5/jFlnWqYziTbdWNNQWBTLwk6eDIC4/+wr0RO277txoVMvPX+pXZrnUsFl2A6Algg+PmnrC
|
||||
kUgX/xOzmWeQHr+D3j2+NBQ8eK5jT/SgBQkg8b8NsG8iN/d7r7GufadWX9x2j/5SdoaEx95O
|
||||
Qs/aDFym9wujwaK40CyRjn/7PpLu2obVzBgFnDDeg4ZfmjE=
|
||||
=koGw
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
10
zstd.spec
10
zstd.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package zstd
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -19,17 +19,17 @@
|
||||
%define major 1
|
||||
%define libname lib%{name}%{major}
|
||||
Name: zstd
|
||||
Version: %{major}.4.9
|
||||
Version: %{major}.5.0
|
||||
Release: 0
|
||||
Summary: Zstandard compression tools
|
||||
License: BSD-3-Clause AND GPL-2.0-only
|
||||
Group: Productivity/Archiving/Compression
|
||||
URL: https://github.com/facebook/zstd
|
||||
Source0: https://github.com/facebook/zstd/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source1: https://github.com/facebook/zstd/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz.sig
|
||||
Source2: zstd.keyring
|
||||
Source99: baselibs.conf
|
||||
Patch1: pzstd.1.patch
|
||||
# PATCH-FIX-UPSTREAM https://github.com/facebook/zstd/pull/2633
|
||||
Patch2: zstd-1.4.9-Avoid-SIGBUS-on-armv6.patch
|
||||
BuildRequires: gcc
|
||||
# C++ is needed for pzstd only
|
||||
BuildRequires: gcc-c++
|
||||
@ -47,6 +47,8 @@ compression than gzip. For roughly the same time, zstd achives a
|
||||
~12%% better ratio than gzip. LZMA outperforms zstd by ~10%% faster
|
||||
compression for same ratio, or ~1–4%% size reduction for same time.
|
||||
|
||||
|
||||
|
||||
# This compression summary is based on https://lists.opensuse.org/opensuse-factory/2019-05/msg00344.html
|
||||
|
||||
%package -n %{libname}
|
||||
|
Loading…
Reference in New Issue
Block a user