Skip to contentSkip to conversation

meta-oe/recipes-test: Add stress-ng recipe

PATCH Superseded Aníbal Limón 2 participants 3 messages Oct 11, 2017 – Oct 12, 2017

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meta-oe/recipes-test: Add stress-ng recipe

From: Aníbal Limón <[email protected]>

A tool to generate load and stress a system, currently this recipe is on a couple of layers [1] and is not updated, a good reason to have in meta-oe.

[1] https://layers.openembedded.org/layerindex/branch/master/recipes/?q=stress-ng

---
 meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb
meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb new file +18 -0
new file mode 100644
index 000000000..f8b0a0d27
@@ -0,0 +1,18 @@
+SUMMARY = "A tool to load and stress a computer system"
+HOMEPAGE = "http://kernel.ubuntu.com/~cking/stress-ng/"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+DEPENDS = "zlib libaio"
+
+SRC_URI = "http://kernel.ubuntu.com/~cking/tarballs/${BPN}/${BP}.tar.gz"
+
+SRC_URI[md5sum] = "e0f6497a8c06f5d652bc2ad88d449c12"
+SRC_URI[sha256sum] = "37cc73e42f5bdb0e0571ba88f6a69b8f05ee28e51afcafc2231c1058b1a5dd18"
+
+CFLAGS += "-Wall -Wextra -DVERSION='"$(VERSION)"' -O2"
+
+do_install_append() {
+    install -d ${D}${bindir}
+    install -m 755 ${S}/stress-ng ${D}${bindir}/stress-ng
+}
Signature · 1 line
2.11.0
#1 lore raw
Quoted 23 lines · Aníbal Limón

From: Aníbal Limón <[email protected]>

A tool to generate load and stress a system, currently this recipe is on a couple of layers [1] and is not updated, a good reason to have in meta-oe.

[1] https://layers.openembedded.org/layerindex/branch/master/recipes/?q=stress-ng

---
 meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb
meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb new file +3 -0
new file mode 100644
index 000000000..f8b0a0d27
@@ -0,0 +1,18 @@
+SUMMARY = "A tool to load and stress a computer system"
+HOMEPAGE = "http://kernel.ubuntu.com/~cking/stress-ng/"
+LICENSE = "GPLv2"

meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb line 13

Quoted 10 lines
meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb new file +10 -0
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+DEPENDS = "zlib libaio"
+
+SRC_URI = "http://kernel.ubuntu.com/~cking/tarballs/${BPN}/${BP}.tar.gz"
+
+SRC_URI[md5sum] = "e0f6497a8c06f5d652bc2ad88d449c12"
+SRC_URI[sha256sum] = "37cc73e42f5bdb0e0571ba88f6a69b8f05ee28e51afcafc2231c1058b1a5dd18"
+
+CFLAGS += "-Wall -Wextra -DVERSION='"$(VERSION)"' -O2"

do we need -O2 always?

Quoted 13 lines
meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb new file +5 -1
+
+do_install_append() {
+    install -d ${D}${bindir}
+    install -m 755 ${S}/stress-ng ${D}${bindir}/stress-ng
+}
--

2.11.0

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#2 lore raw
Quoted 35 lines · Khem Raj
Quoted 7 lines · Aníbal Limón

From: Aníbal Limón <[email protected]>

A tool to generate load and stress a system, currently this recipe is on a couple of layers [1] and is not updated, a good reason to have in meta-oe.

[1] https://layers.openembedded.org/layerindex/branch/master/

recipes/?q=stress-ng

Quoted 4 lines
---
 meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb | 18

++++++++++++++++++

Review

Quoted 4 lines
 1 file changed, 18 insertions(+)
 create mode 100644 meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb
(quoted diff) +0 -0

b/meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb

meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb line 4

Quoted 9 lines

new file mode 100644
index 000000000..f8b0a0d27

meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb new file +4 -0
@@ -0,0 +1,18 @@
+SUMMARY = "A tool to load and stress a computer system"
+HOMEPAGE = "http://kernel.ubuntu.com/~cking/stress-ng/"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a42

63"

meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb

Quoted 4 lines
meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb new file +4 -0
+
+DEPENDS = "zlib libaio"
+
+SRC_URI = "http://kernel.ubuntu.com/~cking/tarballs/${BPN}/${BP}.tar.gz

"

Quoted 9 lines

meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb

Quoted 3 lines
meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb new file +3 -0
+
+SRC_URI[md5sum] = "e0f6497a8c06f5d652bc2ad88d449c12"
+SRC_URI[sha256sum] = "37cc73e42f5bdb0e0571ba88f6a69b

8f05ee28e51afcafc2231c1058b1a5dd18"

meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb line 13

Quoted 2 lines
meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb new file +2 -0
+
+CFLAGS += "-Wall -Wextra -DVERSION='"$(VERSION)"' -O2"

do we need -O2 always?

No isn't required, i will remove the flag and let the buildsystem put the optimization per machine.

Anibal

Quoted 14 lines
Quoted 13 lines
meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb new file +5 -1
+
+do_install_append() {
+    install -d ${D}${bindir}
+    install -m 755 ${S}/stress-ng ${D}${bindir}/stress-ng
+}
--

2.11.0

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel