* [PATCHv2] meta-oe/recipes-test: Add stress-ng recipe
@ 2017-10-12 12:56 Aníbal Limón
2017-10-12 20:53 ` Denys Dmytriyenko
2017-10-17 4:14 ` Khem Raj
0 siblings, 2 replies; 3+ messages in thread
From: Aníbal Limón @ 2017-10-12 12:56 UTC (permalink / raw)
To: openembedded-devel; +Cc: Aníbal Limón
From: Aníbal Limón <anibal.limon@linaro.org>
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
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
---
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
diff --git a/meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb b/meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb
new file mode 100644
index 000000000..86f577006
--- /dev/null
+++ b/meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb
@@ -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)"'"
+
+do_install_append() {
+ install -d ${D}${bindir}
+ install -m 755 ${S}/stress-ng ${D}${bindir}/stress-ng
+}
--
2.11.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCHv2] meta-oe/recipes-test: Add stress-ng recipe
2017-10-12 12:56 [PATCHv2] meta-oe/recipes-test: Add stress-ng recipe Aníbal Limón
@ 2017-10-12 20:53 ` Denys Dmytriyenko
2017-10-17 4:14 ` Khem Raj
1 sibling, 0 replies; 3+ messages in thread
From: Denys Dmytriyenko @ 2017-10-12 20:53 UTC (permalink / raw)
To: Aníbal Limón; +Cc: Aníbal Limón, openembedded-devel
On Thu, Oct 12, 2017 at 07:56:25AM -0500, Aníbal Limón wrote:
> From: Aníbal Limón <anibal.limon@linaro.org>
>
> 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
>
> Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Thanks for updating and upstreaming it! As the original author of the recipe [2],
you can add my SoB here as well:
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
[2] http://arago-project.org/git/?p=meta-arago.git;a=history;f=meta-arago-extras/recipes-devtools/stress-ng;hb=master
> ---
> 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
>
> diff --git a/meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb b/meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb
> new file mode 100644
> index 000000000..86f577006
> --- /dev/null
> +++ b/meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb
> @@ -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)"'"
> +
> +do_install_append() {
> + install -d ${D}${bindir}
> + install -m 755 ${S}/stress-ng ${D}${bindir}/stress-ng
> +}
> --
> 2.11.0
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCHv2] meta-oe/recipes-test: Add stress-ng recipe
2017-10-12 12:56 [PATCHv2] meta-oe/recipes-test: Add stress-ng recipe Aníbal Limón
2017-10-12 20:53 ` Denys Dmytriyenko
@ 2017-10-17 4:14 ` Khem Raj
1 sibling, 0 replies; 3+ messages in thread
From: Khem Raj @ 2017-10-17 4:14 UTC (permalink / raw)
To: Aníbal Limón; +Cc: Aníbal Limón, openembeded-devel
On Thu, Oct 12, 2017 at 5:56 AM, Aníbal Limón <limon.anibal@gmail.com> wrote:
> From: Aníbal Limón <anibal.limon@linaro.org>
>
> 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
>
> Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
> ---
> 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
>
> diff --git a/meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb b/meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb
> new file mode 100644
> index 000000000..86f577006
> --- /dev/null
> +++ b/meta-oe/recipes-test/stress-ng/stress-ng_0.08.17.bb
> @@ -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)"'"
> +
> +do_install_append() {
> + install -d ${D}${bindir}
> + install -m 755 ${S}/stress-ng ${D}${bindir}/stress-ng
> +}
Fails to build with musl
| stress-malloc.c: In function 'stress_malloc':
| stress-malloc.c:104:9: warning: implicit declaration of function
'mallopt' [-Wimplicit-function-declaration]
| (void)mallopt(M_MMAP_THRESHOLD, (int)malloc_threshold);
| ^~~~~~~
| stress-malloc.c:104:17: error: 'M_MMAP_THRESHOLD' undeclared (first
use in this function)
| (void)mallopt(M_MMAP_THRESHOLD, (int)malloc_threshold);
| ^~~~~~~~~~~~~~~~
| stress-malloc.c:104:17: note: each undeclared identifier is reported
only once for each function it appears in
| make: *** [Makefile:681: stress-malloc.o] Error 1
| make: *** Waiting for unfinished jobs....
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-10-17 4:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-12 12:56 [PATCHv2] meta-oe/recipes-test: Add stress-ng recipe Aníbal Limón
2017-10-12 20:53 ` Denys Dmytriyenko
2017-10-17 4:14 ` Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.