public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Mubin Sayyed <mubin.usman.sayyed@xilinx.com>
To: <openembedded-core@lists.openembedded.org>
Cc: Mubin Sayyed <mubinusm@xilinx.com>
Subject: [meta-oe] [master] [PATCH 1/3] benchmarks:Added recipe for whetstone benchmarks
Date: Tue, 23 Aug 2016 15:17:27 +0530	[thread overview]
Message-ID: <1471945649-3164-2-git-send-email-mubinusm@xilinx.com> (raw)
In-Reply-To: <1471945649-3164-1-git-send-email-mubinusm@xilinx.com>

This patch adds recipe for whestone benchmarks.
Whestone benchmarks measures CPU's floating-point
arithmetic performance

Signed-off-by: Mubin Sayyed <mubinusm@xilinx.com>
---
 .../recipes-benchmark/whetstone/whetstone_1.0.bb   | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-oe/recipes-benchmark/whetstone/whetstone_1.0.bb

diff --git a/meta-oe/recipes-benchmark/whetstone/whetstone_1.0.bb b/meta-oe/recipes-benchmark/whetstone/whetstone_1.0.bb
new file mode 100644
index 0000000..e6f51cb
--- /dev/null
+++ b/meta-oe/recipes-benchmark/whetstone/whetstone_1.0.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "CPU benchmark to measure floating point performance"
+HOMEPAGE = "https://en.wikipedia.org/wiki/Whetstone_(benchmark)"
+SECTION = "benchmark/tests"
+
+LICENSE = "GPLv1"
+LIC_FILES_CHKSUM ="file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d"
+
+SRC_URI = "http://www.netlib.org/benchmark/whetstone.c"
+SRC_URI[md5sum] = "d8eb2cd7104bb5a12d614ac6d3f1f9fb"
+SRC_URI[sha256sum] = "333e4ceca042c146f63eec605573d16ae8b07166cbc44a17bec1ea97c6f1efbf"
+
+S = "${WORKDIR}"
+
+do_compile () {
+	${CC} -O3 -Ofast -o whetstone whetstone.c -lm 
+}
+
+do_install () {
+	install -d ${D}${bindir}
+	install -m 0755 whetstone ${D}${bindir}	
+}
+
-- 
1.9.1



  reply	other threads:[~2016-08-23  9:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-23  9:47 [meta-oe] [master] [PATCH 0/3] Added cpu benchmarks Mubin Sayyed
2016-08-23  9:47 ` Mubin Sayyed [this message]
2016-08-24  0:54   ` [meta-oe] [master] [PATCH 1/3] benchmarks:Added recipe for whetstone benchmarks Khem Raj
2016-08-23  9:47 ` [meta-oe] [master] [PATCH 2/3] benchmarks:Added recipe for dhrystone Mubin Sayyed
2016-08-23  9:47 ` [meta-oe] [master] [PATCH 3/3] benchmarks:Added recipe for linpack Mubin Sayyed
2016-08-23 10:52 ` [meta-oe] [master] [PATCH 0/3] Added cpu benchmarks Jussi Kukkonen
2016-08-25  9:29   ` Mubin Usman Sayyed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1471945649-3164-2-git-send-email-mubinusm@xilinx.com \
    --to=mubin.usman.sayyed@xilinx.com \
    --cc=mubinusm@xilinx.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox