Commit 3ede5f04 authored by J0WI's avatar J0WI

main/zstd: upgrade to 1.5.0

parent cda4ae51
Pipeline #81804 passed with stages
in 55 minutes and 55 seconds
......@@ -2,19 +2,17 @@
# Contributor: stef <l0ls0fo2i@ctrlc.hu>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=zstd
pkgver=1.4.9
pkgrel=1
pkgver=1.5.0
pkgrel=0
pkgdesc="Zstandard - Fast real-time compression algorithm"
url="https://www.zstd.net"
url="https://www.zstd.net/"
arch="all"
license="BSD-3-Clause GPL-2.0-or-later"
checkdepends="file"
makedepends="$makedepends_build"
makedepends_build="grep"
subpackages="$pkgname-static $pkgname-libs $pkgname-dev $pkgname-doc pzstd"
source="zstd-$pkgver.tar.gz::https://github.com/facebook/zstd/archive/v$pkgver.tar.gz
Reduce-memory-usage-of-MT-CLI-tests.patch
"
source="zstd-$pkgver.tar.gz::https://github.com/facebook/zstd/archive/v$pkgver.tar.gz"
# secfixes:
# 1.3.8-r0:
......@@ -58,3 +56,4 @@ sha512sums="
f529db9c094f9ae26428bf1fdfcc91c6d783d400980e0f0d802d2cf13c2be2931465ef568907e03841ff76a369a1447e7371f8799d8526edb9a513ba5c6db133 zstd-1.4.9.tar.gz
06729a299183ea974190d65264c8feb349cf9ce63fd16c5a082a6743aa9054f12898b569a68ff1d84892ddbc9e92d69ca124af586baf123a8bc91ad326be8797 Reduce-memory-usage-of-MT-CLI-tests.patch
"
sha512sums="25b657529a698eec891f92ff4a085d1fd95d2ff938ce52c8a4ff6163eb0b668ec642dd09e0db190652638cd92371006afa01d8e437437762c4097ad301675c33 zstd-1.5.0.tar.gz"
From 2e4fca38d8585e0cecb584ad5279306640897b4a Mon Sep 17 00:00:00 2001
From: Nick Terrell <terrelln@fb.com>
Date: Mon, 3 May 2021 16:29:11 -0700
Subject: [PATCH] [tests] Reduce memory usage of MT CLI tests
Switch from `-T0` to the default `-T1` which significantly reduces
memory usage for level 19 when there are many cores. This fixes
32-bit issues of running out of address space.
Fixes #2603.
---
tests/playTests.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/playTests.sh b/tests/playTests.sh
index 2dfb4fa07a..04a90e3c2e 100755
--- a/tests/playTests.sh
+++ b/tests/playTests.sh
@@ -1225,7 +1225,7 @@ then
println "\n===> zstdmt round-trip tests "
roundTripTest -g4M "1 -T0"
roundTripTest -g8M "3 -T2"
- roundTripTest -g8M "19 -T0 --long"
+ roundTripTest -g8M "19 --long"
roundTripTest -g8000K "2 --threads=2"
fileRoundTripTest -g4M "19 -T2 -B1M"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment