mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
(From OE-Core rev: 0a4c9943043004e5d8b67bfedea861227484790a) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
37 lines
1.0 KiB
BlitzBasic
37 lines
1.0 KiB
BlitzBasic
SUMMARY = "System load testing utility"
|
|
DESCRIPTION = "Deliberately simple workload generator for POSIX systems. It \
|
|
imposes a configurable amount of CPU, memory, I/O, and disk stress on the system."
|
|
HOMEPAGE = "https://github.com/ColinIanKing/stress-ng#readme"
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|
|
|
SRC_URI = "git://github.com/ColinIanKing/stress-ng.git;protocol=https;branch=master \
|
|
"
|
|
SRCREV = "4e68895f4fe68863b360ab4a6a57e2dfcff85d60"
|
|
S = "${WORKDIR}/git"
|
|
|
|
DEPENDS = "coreutils-native libbsd"
|
|
|
|
PROVIDES = "stress"
|
|
RPROVIDES:${PN} = "stress"
|
|
RREPLACES:${PN} = "stress"
|
|
RCONFLICTS:${PN} = "stress"
|
|
|
|
inherit bash-completion
|
|
|
|
EXTRA_OEMAKE = "VERBOSE=1"
|
|
|
|
do_configure() {
|
|
mkdir -p configs
|
|
touch configs/HAVE_APPARMOR
|
|
oe_runmake makeconfig
|
|
}
|
|
|
|
do_install() {
|
|
oe_runmake DESTDIR=${D} BINDIR=${bindir} install
|
|
ln -s stress-ng ${D}${bindir}/stress
|
|
}
|
|
|
|
# upstream issue: https://github.com/ColinIanKing/stress-ng/issues/315
|
|
DEBUG_BUILD = "0"
|