summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/stress-ng/stress-ng_0.19.02.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/stress-ng/stress-ng_0.19.02.bb')
-rw-r--r--meta/recipes-extended/stress-ng/stress-ng_0.19.02.bb34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-extended/stress-ng/stress-ng_0.19.02.bb b/meta/recipes-extended/stress-ng/stress-ng_0.19.02.bb
new file mode 100644
index 0000000000..dd8d3a8406
--- /dev/null
+++ b/meta/recipes-extended/stress-ng/stress-ng_0.19.02.bb
@@ -0,0 +1,34 @@
1SUMMARY = "System load testing utility"
2DESCRIPTION = "Deliberately simple workload generator for POSIX systems. It \
3imposes a configurable amount of CPU, memory, I/O, and disk stress on the system."
4HOMEPAGE = "https://github.com/ColinIanKing/stress-ng#readme"
5LICENSE = "GPL-2.0-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
7
8SRC_URI = "git://github.com/ColinIanKing/stress-ng.git;protocol=https;branch=master;tag=V${PV}"
9SRCREV = "8d5399b282225f758606cd2b522382f65d947a8d"
10
11DEPENDS = "coreutils-native libbsd"
12
13PROVIDES = "stress"
14RPROVIDES:${PN} = "stress"
15RREPLACES:${PN} = "stress"
16RCONFLICTS:${PN} = "stress"
17
18inherit bash-completion
19
20EXTRA_OEMAKE = "VERBOSE=1"
21
22do_configure() {
23 mkdir -p configs
24 touch configs/HAVE_APPARMOR
25 oe_runmake makeconfig
26}
27
28do_install() {
29 oe_runmake DESTDIR=${D} BINDIR=${bindir} install
30 ln -s stress-ng ${D}${bindir}/stress
31}
32
33# upstream issue: https://github.com/ColinIanKing/stress-ng/issues/315
34DEBUG_BUILD = "0"