Skip to content

Commit 929c515

Browse files
committed
stress-ng: bump to version 0.19.00
For MIPS and PowerPC, we need to disable atomics. Otherwise we get linker errors with them. Signed-off-by: Alexandru Ardelean <[email protected]>
1 parent c8b5208 commit 929c515

File tree

3 files changed

+29
-3
lines changed

3 files changed

+29
-3
lines changed

utils/stress-ng/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
include $(TOPDIR)/rules.mk
77

88
PKG_NAME:=stress-ng
9-
PKG_VERSION:=0.18.11
9+
PKG_VERSION:=0.19.00
1010
PKG_RELEASE:=1
1111

1212
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
1313
PKG_SOURCE_URL:=https://codeload.github.com/ColinIanKing/stress-ng/tar.gz/refs/tags/V$(PKG_VERSION)?
14-
PKG_HASH:=f4388c4d4d53172431cd77e029139ddd0dacb249ef59053dbc1f0c42188e3e35
14+
PKG_HASH:=7d0be69dcdad655145026f499863de01d317e87ff87acd48c3343d451540d172
1515

1616
PKG_MAINTAINER:=Alexandru Ardelean <[email protected]>
1717
PKG_LICENSE:=GPL-2.0-only

utils/stress-ng/patches/001-disable-extra-stressors.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- a/Makefile.config
22
+++ b/Makefile.config
3-
@@ -362,10 +362,10 @@ clean:
3+
@@ -363,10 +363,10 @@ clean:
44
.PHONY: libraries
55
libraries: \
66
configdir \
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
--- a/stress-fractal.c
2+
+++ b/stress-fractal.c
3+
@@ -90,6 +90,10 @@ static void stress_fractal_deinit(void)
4+
}
5+
}
6+
7+
+#if (defined(STRESS_ARCH_MIPS) || defined(STRESS_ARCH_PPC64) || defined(STRESS_ARCH_PPC))
8+
+#undef HAVE_ATOMIC_FETCH_ADD
9+
+#endif
10+
+
11+
/*
12+
* stress_fractal_get_row()
13+
* get next row to be computed, will wrap around. Wrap arounds
14+
--- a/stress-misaligned.c
15+
+++ b/stress-misaligned.c
16+
@@ -49,6 +49,10 @@
17+
#undef HAVE_ATOMIC
18+
#endif
19+
20+
+#if (defined(STRESS_ARCH_MIPS) || defined(STRESS_ARCH_PPC64) || defined(STRESS_ARCH_PPC))
21+
+#undef HAVE_ATOMIC
22+
+#endif
23+
+
24+
#if defined(HAVE_LIB_RT) && \
25+
defined(HAVE_TIMER_CREATE) && \
26+
defined(HAVE_TIMER_DELETE) && \

0 commit comments

Comments
 (0)