On Tue, Jan 26, 2016 at 12:36:02PM +0800, Robert Yang wrote:
> 
> 
> On 01/26/2016 11:34 AM, Denys Dmytriyenko wrote:
> >From: Denys Dmytriyenko <[email protected]>
> >
> >A clean room re-implementation and extension of the original stress tool.
> >
> >Signed-off-by: Denys Dmytriyenko <[email protected]>
> >---
> >  meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb | 15 +++++++++++++++
> >  1 file changed, 15 insertions(+)
> >  create mode 100644 meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb
> >
> >diff --git a/meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb 
> >b/meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb
> >new file mode 100644
> >index 0000000..2e92c53
> >--- /dev/null
> >+++ b/meta/recipes-extended/stress-ng/stress-ng_0.05.09.bb
> >@@ -0,0 +1,15 @@
> >+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"
> >+
> >+SRC_URI = "http://kernel.ubuntu.com/~cking/tarballs/${BPN}/${BP}.tar.gz";
> >+
> >+SRC_URI[md5sum] = "fe65047991f654ffaac3c59ea9537763"
> >+SRC_URI[sha256sum] = 
> >"d785b5f2df042d42c43ddfd5bbafa19151ed96f0c483d7f44c737f492b52ddd6"
> >+
> >+CFLAGS += "-Wall -Wextra -DVERSION='"$(VERSION)"' -O2"
> 
> Why hardcode -O2, please ? It impacts the DEBUG_BUILD.

Those above are the same exact CFLAGS used by stress-ng own Makefile. In 
reality it only needs -DVERSION to build, but I decided to preserve all flags 
in order to simplify comparison with other published stress results...


> >+
> >+do_install() {
> >+    oe_runmake DESTDIR=${D} install
> >+}
> >
> 
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to