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 3/3] benchmarks:Added recipe for linpack
Date: Tue, 23 Aug 2016 15:17:29 +0530	[thread overview]
Message-ID: <1471945649-3164-4-git-send-email-mubinusm@xilinx.com> (raw)
In-Reply-To: <1471945649-3164-1-git-send-email-mubinusm@xilinx.com>

This patch adds recipe for linpack benchmarks.
linpack benchmarks measures the CPU's floating point computing power.

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

diff --git a/meta-oe/recipes-benchmark/linpack/linpack_1.0.bb b/meta-oe/recipes-benchmark/linpack/linpack_1.0.bb
new file mode 100644
index 0000000..b136358
--- /dev/null
+++ b/meta-oe/recipes-benchmark/linpack/linpack_1.0.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "LINPACK Benchmarks are a measure of a system's floating point computing power"
+HOMEPAGE = "https://en.wikipedia.org/wiki/LINPACK_benchmarks"
+SECTION = "benchmark/tests"
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM ="file://${COMMON_LICENSE_DIR}/BSD;md5=3775480a712fc46a69647678acb234cb"
+
+SRC_URI = "http://ftp4.se.freebsd.org/pub/misc/linpacknew.c"
+SRC_URI[md5sum] = "11aec219fc065a4aa54b9aed3b2c6f47"
+SRC_URI[sha256sum] = "e21ab7b04732189b550070f346970db9686d2f33a5d0a1a3a03c4dc50f7af14c"
+
+S = "${WORKDIR}"
+
+do_compile () {
+	${CC} -O -o linpack linpacknew.c -lm
+}
+
+do_install () {
+	install -d ${D}${bindir}
+	install -m 0755 linpack ${D}${bindir}
+}
+
-- 
1.9.1



  parent reply	other threads:[~2016-08-23  9:48 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 ` [meta-oe] [master] [PATCH 1/3] benchmarks:Added recipe for whetstone benchmarks Mubin Sayyed
2016-08-24  0:54   ` 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 ` Mubin Sayyed [this message]
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-4-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