From: Alexandru Ardelean Date: Wed, 22 Apr 2026 09:17:00 +0000 (+0300) Subject: stress-ng: update to 0.21.00 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=2bedf9550930d6047b3ddfd226c847b9b198314a;p=openwrt-packages.git stress-ng: update to 0.21.00 Spans two minor release cycles (0.19.04 to 0.21.00), adding new stressors, improved architecture support, and various bug fixes. Changelog: https://github.com/ColinIanKing/stress-ng/blob/V0.21.00/CHANGES Signed-off-by: Alexandru Ardelean --- diff --git a/utils/stress-ng/Makefile b/utils/stress-ng/Makefile index ed878ec8c..009e9cd99 100644 --- a/utils/stress-ng/Makefile +++ b/utils/stress-ng/Makefile @@ -6,12 +6,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=stress-ng -PKG_VERSION:=0.19.04 +PKG_VERSION:=0.21.00 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/ColinIanKing/stress-ng/tar.gz/refs/tags/V$(PKG_VERSION)? -PKG_HASH:=3761ae901b2a81dcdb3f5363b8d98f288c03ae320a697b6d7ffef01a48845f05 +PKG_HASH:=1339cbc6ccbff7e2ee2177bf0fd67e7b94e8ff7b07fe89bcfaec0280d800cf34 PKG_MAINTAINER:=Alexandru Ardelean PKG_LICENSE:=GPL-2.0-only diff --git a/utils/stress-ng/patches/001-disable-extra-stressors.patch b/utils/stress-ng/patches/001-disable-extra-stressors.patch index e52801245..5d8118abd 100644 --- a/utils/stress-ng/patches/001-disable-extra-stressors.patch +++ b/utils/stress-ng/patches/001-disable-extra-stressors.patch @@ -1,6 +1,6 @@ --- a/Makefile.config +++ b/Makefile.config -@@ -364,10 +364,10 @@ clean: +@@ -372,10 +372,10 @@ clean: .PHONY: libraries libraries: \ configdir \ diff --git a/utils/stress-ng/patches/002-disable-atomics-mips-and-ppc.patch b/utils/stress-ng/patches/002-disable-atomics-mips-and-ppc.patch index 2c6c2a4c4..75b02a70f 100644 --- a/utils/stress-ng/patches/002-disable-atomics-mips-and-ppc.patch +++ b/utils/stress-ng/patches/002-disable-atomics-mips-and-ppc.patch @@ -13,7 +13,7 @@ * get next row to be computed, will wrap around. Wrap arounds --- a/stress-misaligned.c +++ b/stress-misaligned.c -@@ -52,6 +52,10 @@ +@@ -53,6 +53,10 @@ #undef HAVE_ATOMIC #endif diff --git a/utils/stress-ng/test.sh b/utils/stress-ng/test.sh index 0b70f7cc3..c578a87bb 100644 --- a/utils/stress-ng/test.sh +++ b/utils/stress-ng/test.sh @@ -1,3 +1,4 @@ #!/bin/sh -e -stress-ng --version | grep "$2" +# Run a single CPU operation and exit; validates the stressor infrastructure +stress-ng --cpu 1 --cpu-ops 1 --metrics-brief