[oe] [meta-oe] [PATCH 3/3] benchmarks:Added recipe for linpack

Mubin Sayyed mubin.usman.sayyed at xilinx.com
Tue Aug 23 13:02:21 UTC 2016


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

Signed-off-by: Mubin Sayyed <mubinusm at 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




More information about the Openembedded-devel mailing list