This patch adds recipe for linpack benchmarks. linpack benchmarks measures the CPU's floating point computing power.
Signed-off-by: Mubin Sayyed <[email protected]> --- 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 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
