Skip to contentSkip to conversation

linpack_1.0.bb: Add linpack benchmark

PATCH Superseded Manjukumar Matha 2 participants 2 messages Oct 25, 2017

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linpack_1.0.bb: Add linpack benchmark

The LINPACK Benchmarks are a measure of a system's floating point computing power. Introduced by Jack Dongarra, they measure how fast a computer solves a dense n by n system of linear equations Ax = b, which is a common task in engineering.

https://en.wikipedia.org/wiki/LINPACK_benchmarks

---
 meta-oe/recipes-benchmark/linpack/linpack_1.0.bb | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meta-oe/recipes-benchmark/linpack/linpack_1.0.bb
meta-oe/recipes-benchmark/linpack/linpack_1.0.bb new file +18 -0
new file mode 100644
index 0000000..83a4a80
@@ -0,0 +1,18 @@
+DESCRIPTION = "LINPACK Benchmarks are a measure of a system's floating point computing power"
+LICENSE = "PD"
+LIC_FILES_CHKSUM ="file://${COREBASE}/meta/files/common-licenses/PD;md5=b3597d12946881e13cb3b548d1173851"
+
+SRC_URI = "http://www.netlib.org/benchmark/linpackc.new;downloadfilename=linpacknew.c"
+SRC_URI[md5sum] = "1c5d0b6a31264685d2e651c920e3cdf4"
+SRC_URI[sha256sum] = "a63f2ec86512959f1fd926bfafb85905b2d7b7402942ffae3af374d48745e97e"
+
+S = "${WORKDIR}"
+
+do_compile () {
+	${CC} ${CFLAGS} ${LDFLAGS} -O -o linpack linpacknew.c -lm
+}
+
+do_install () {
+	install -Dm 0755 linpack ${D}${bindir}/linpack
+}
+
Signature · 1 line
2.7.4
#1 lore raw
Quoted 7 lines · Manjukumar Matha

The LINPACK Benchmarks are a measure of a system's floating point computing power. Introduced by Jack Dongarra, they measure how fast a computer solves a dense n by n system of linear equations Ax = b, which is a common task in engineering.

https://en.wikipedia.org/wiki/LINPACK_benchmarks

same comments as other patch here too

Quoted 38 lines
---
 meta-oe/recipes-benchmark/linpack/linpack_1.0.bb | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meta-oe/recipes-benchmark/linpack/linpack_1.0.bb
meta-oe/recipes-benchmark/linpack/linpack_1.0.bb new file +18 -1
new file mode 100644
index 0000000..83a4a80
@@ -0,0 +1,18 @@
+DESCRIPTION = "LINPACK Benchmarks are a measure of a system's floating point computing power"
+LICENSE = "PD"
+LIC_FILES_CHKSUM ="file://${COREBASE}/meta/files/common-licenses/PD;md5=b3597d12946881e13cb3b548d1173851"
+
+SRC_URI = "http://www.netlib.org/benchmark/linpackc.new;downloadfilename=linpacknew.c"
+SRC_URI[md5sum] = "1c5d0b6a31264685d2e651c920e3cdf4"
+SRC_URI[sha256sum] = "a63f2ec86512959f1fd926bfafb85905b2d7b7402942ffae3af374d48745e97e"
+
+S = "${WORKDIR}"
+
+do_compile () {
+       ${CC} ${CFLAGS} ${LDFLAGS} -O -o linpack linpacknew.c -lm
+}
+
+do_install () {
+       install -Dm 0755 linpack ${D}${bindir}/linpack
+}
+
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel