diff options
author | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2017-11-01 21:27:06 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2017-11-15 16:34:05 -0800 |
commit | 1d7d2c685550e6afeb285a06d149031e035c0700 (patch) | |
tree | ed75731979d5bee0b965be13ebceae7ca83848a5 /meta-oe/recipes-benchmark | |
parent | 222091bdc218a19a6643a62f70be6cac3371a683 (diff) | |
download | meta-openembedded-1d7d2c685550e6afeb285a06d149031e035c0700.tar.gz |
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
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-benchmark')
-rw-r--r-- | meta-oe/recipes-benchmark/linpack/linpack_1.0.bb | 20 |
1 files changed, 20 insertions, 0 deletions
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 000000000..aed95cdaa --- /dev/null +++ b/meta-oe/recipes-benchmark/linpack/linpack_1.0.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | DESCRIPTION = "LINPACK Benchmarks are a measure of a system's floating point computing power" | ||
2 | SUMMARY = "LINPACK is a software library for performing numerical linear algebra on digital computers" | ||
3 | |||
4 | LICENSE = "PD" | ||
5 | LIC_FILES_CHKSUM ="file://${WORKDIR}/linpacknew.c;beginline=1;endline=23;md5=aa025e3bc44190c71e4c5e3b084fed87" | ||
6 | |||
7 | SRC_URI = "http://www.netlib.org/benchmark/linpackc.new;downloadfilename=linpacknew.c" | ||
8 | SRC_URI[md5sum] = "1c5d0b6a31264685d2e651c920e3cdf4" | ||
9 | SRC_URI[sha256sum] = "a63f2ec86512959f1fd926bfafb85905b2d7b7402942ffae3af374d48745e97e" | ||
10 | |||
11 | S = "${WORKDIR}" | ||
12 | |||
13 | do_compile () { | ||
14 | ${CC} ${CFLAGS} ${LDFLAGS} -o linpack linpacknew.c -lm | ||
15 | } | ||
16 | |||
17 | do_install () { | ||
18 | install -Dm 0755 linpack ${D}${bindir}/linpack | ||
19 | } | ||
20 | |||