From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Greylist: delayed 3603 seconds by postgrey-1.34 at layers.openembedded.org; Tue, 26 Jan 2016 06:05:10 UTC Received: from vms173019pub.verizon.net (vms173019pub.verizon.net [206.46.173.19]) by mail.openembedded.org (Postfix) with ESMTP id 6E872755F8 for ; Tue, 26 Jan 2016 06:05:10 +0000 (UTC) Received: from gandalf.denix.org ([100.15.86.14]) by vms173019.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPSA id <0O1J00IVJNG1YZ90@vms173019.mailsrvcs.net> for openembedded-core@lists.openembedded.org; Mon, 25 Jan 2016 23:04:50 -0600 (CST) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=WpDWSorv c=1 sm=1 tr=0 a=xDJgBcBrK5EN9DJ6g74wNQ==:117 a=kj9zAlcOel0A:10 a=7aQ_Q-yQQ-AA:10 a=sozttTNsAAAA:8 a=fxJcL_dCAAAA:8 a=snS9ORLDqdp--L-pTRYA:9 a=CjuIK1q_8ugA:10 Received: by gandalf.denix.org (Postfix, from userid 1000) id 6F4BE161E19; Tue, 26 Jan 2016 00:04:49 -0500 (EST) Date: Tue, 26 Jan 2016 00:04:49 -0500 From: Denys Dmytriyenko To: Robert Yang Message-id: <20160126050449.GD1652@denix.org> References: <1453779264-8652-1-git-send-email-denis@denix.org> <56A6F7B2.8080203@windriver.com> MIME-version: 1.0 In-reply-to: <56A6F7B2.8080203@windriver.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Denys Dmytriyenko , openembedded-core@lists.openembedded.org Subject: Re: [PATCH] stress-ng: add 0.05.09 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jan 2016 06:05:12 -0000 Content-type: text/plain; charset=us-ascii Content-disposition: inline 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 > > > >A clean room re-implementation and extension of the original stress tool. > > > >Signed-off-by: Denys Dmytriyenko > >--- > > 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 > >+} > > >