diff --git a/app-benchmarks/stress-ng/patches/stress_ng-0.12.01.patchset b/app-benchmarks/stress-ng/patches/stress_ng-0.12.01.patchset deleted file mode 100644 index c1ee1c8ed..000000000 --- a/app-benchmarks/stress-ng/patches/stress_ng-0.12.01.patchset +++ /dev/null @@ -1,22 +0,0 @@ -From 4f6b80ad397cacf8196e9ee2ddabad53dfeae5c0 Mon Sep 17 00:00:00 2001 -From: Gerasim Troeglazov <3dEyes@gmail.com> -Date: Wed, 20 Jan 2021 11:27:46 +1000 -Subject: Disable mlock for Haiku - - -diff --git a/stress-ng.h b/stress-ng.h -index a3e07e9..31c319f 100644 ---- a/stress-ng.h -+++ b/stress-ng.h -@@ -1200,7 +1200,7 @@ typedef struct { - #endif - - /* GCC mlocked data and data section attribute */ --#if defined(__GNUC__) && NEED_GNUC(4,6,0) && !defined(__sun__) -+#if defined(__GNUC__) && NEED_GNUC(4,6,0) && !defined(__sun__) && !defined(__HAIKU__) - #define MLOCKED_DATA __attribute__((__section__("mlocked_data"))) - #define MLOCKED_TEXT __attribute__((__section__("mlocked_text"))) - #define MLOCKED_SECTION 1 --- -2.30.0 - diff --git a/app-benchmarks/stress-ng/stress_ng-0.12.01.recipe b/app-benchmarks/stress-ng/stress_ng-0.13.05.recipe similarity index 84% rename from app-benchmarks/stress-ng/stress_ng-0.12.01.recipe rename to app-benchmarks/stress-ng/stress_ng-0.13.05.recipe index 009e597de..707f0922f 100644 --- a/app-benchmarks/stress-ng/stress_ng-0.12.01.recipe +++ b/app-benchmarks/stress-ng/stress_ng-0.13.05.recipe @@ -1,13 +1,13 @@ SUMMARY="Stress test a computer system in various selectable ways" DESCRIPTION="stress-ng will stress test a computer system in various \ selectable ways. It was designed to exercise various physical subsystems of a \ -computer as well as the various operating system kernel interfaces. \ +computer as well as the various operating system kernel interfaces. Stress-ng features: * Over 240 stress tests -*78 CPU specific stress tests that exercise floating point, integer, bit\ - manipulation and control flow -*Over 20 virtual memory stress tests +* 78 CPU specific stress tests that exercise floating point, integer, bit \ +manipulation and control flow +* Over 20 virtual memory stress tests stress-ng was originally intended to make a machine work hard and trip \ hardware issues such as thermal overruns as well as operating system bugs \ @@ -31,15 +31,14 @@ One can specify the number of processes to invoke per type of stress test; \ specifying a negative or zero value will select the number of online \ processors as defined by sysconf(_SC_NPROCESSORS_ONLN)." HOMEPAGE="https://kernel.ubuntu.com/~cking/stress-ng/" -COPYRIGHT="2013-2020 Colin Ian King" +COPYRIGHT="2013-2021 Colin Ian King" LICENSE="GNU GPL v2" REVISION="1" SOURCE_URI="https://github.com/ColinIanKing/stress-ng/archive/V$portVersion.zip" SOURCE_DIR="stress-ng-$portVersion" -CHECKSUM_SHA256="17fff86fa6bc061802822bf4b076e511c577b51c114855ff679a38a11e6ca79e" -PATCHES="stress_ng-$portVersion.patchset" +CHECKSUM_SHA256="442c07327c5534566670a85dc67d50b1c643250aa09cc7129c793705d294cbeb" -ARCHITECTURES="all ?x86_gcc2" +ARCHITECTURES="all !x86_gcc2" PROVIDES=" stress_ng = $portVersion @@ -57,7 +56,7 @@ BUILD_REQUIRES=" " BUILD_PREREQUIRES=" cmd:awk - cmd:g++ + cmd:gcc cmd:make " @@ -65,11 +64,11 @@ BUILD() { touch config make -f Makefile.config - make + make $jobArgs } INSTALL() { - mkdir -p $binDir + mkdir -p $binDir cp stress-ng $binDir }