aboutsummaryrefslogtreecommitdiffstats
path: root/meta-ivi-common
diff options
context:
space:
mode:
authorYannick Gicquel <yannick.gicquel@iot.bzh>2016-03-31 18:05:08 +0200
committerGerrit Code Review <gerrit@172.30.200.200>2016-05-01 21:40:30 +0000
commit71d32bf23cc826b7ad6659c29bcfcb97fcd75ca7 (patch)
treebb81e1b9346c446bae33e85e2731ab76a421495d /meta-ivi-common
parent0643401b8c8ee210961881c659e8079297e030a5 (diff)
Add new recipe for linpack
linpack benchmark license is BSD, from lapack-forum: http://icl.cs.utk.edu/lapack-forum/archives/lapack/msg00301.html Change-Id: I7093f98102e9cb3c61aad3fa9c8ced8693ff67a1 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
Diffstat (limited to 'meta-ivi-common')
-rw-r--r--meta-ivi-common/recipes-test/linpack/linpack.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-ivi-common/recipes-test/linpack/linpack.bb b/meta-ivi-common/recipes-test/linpack/linpack.bb
new file mode 100644
index 000000000..7ac1eb987
--- /dev/null
+++ b/meta-ivi-common/recipes-test/linpack/linpack.bb
@@ -0,0 +1,21 @@
+SUMMARY = "Linpack benchmark"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://${S}/${PN}/linpack.c;md5=076f1fd8d313056103f98d4253862eae"
+
+SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/qa-test-misc;protocol=https;branch=master"
+SRCREV = "920cae73a918d1f516113b0ae967be3ecaba86ef"
+
+inherit autotools
+
+S = "${WORKDIR}/git"
+
+# configure script is not delivered, only a makefile.
+do_configure() {
+ mkdir -p ${B}
+ rsync -a ${S}/${PN}/* ${B}
+}
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 0755 ${B}/linpack ${D}${bindir}
+}