From 350db7cc7ce3eb9e30066705c3764e30ddd2bdae Mon Sep 17 00:00:00 2001 From: Mingli Yu Date: Mon, 16 Jul 2018 20:38:16 -0700 Subject: bonnie++: Upgrade to 1.04 Remove the patch gcc-4.3-fixes.patch as build successfully without it. Signed-off-by: Mingli Yu Signed-off-by: Khem Raj --- meta-oe/recipes-benchmark/bonnie/bonnie++_1.03e.bb | 32 ---------------------- meta-oe/recipes-benchmark/bonnie/bonnie++_1.04.bb | 31 +++++++++++++++++++++ .../bonnie/files/gcc-4.3-fixes.patch | 19 ------------- 3 files changed, 31 insertions(+), 51 deletions(-) delete mode 100644 meta-oe/recipes-benchmark/bonnie/bonnie++_1.03e.bb create mode 100644 meta-oe/recipes-benchmark/bonnie/bonnie++_1.04.bb delete mode 100644 meta-oe/recipes-benchmark/bonnie/files/gcc-4.3-fixes.patch (limited to 'meta-oe') diff --git a/meta-oe/recipes-benchmark/bonnie/bonnie++_1.03e.bb b/meta-oe/recipes-benchmark/bonnie/bonnie++_1.03e.bb deleted file mode 100644 index 2c1217e347..0000000000 --- a/meta-oe/recipes-benchmark/bonnie/bonnie++_1.03e.bb +++ /dev/null @@ -1,32 +0,0 @@ -SUMMARY = "Tests large file IO and creation/deletion of small files" -HOMEPAGE = "http://www.coker.com.au/bonnie++/" -SECTION = "benchmark/tests" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://copyright.txt;md5=cd4dde95a6b9d122f0a9150ae9cc3ee0" - -SRC_URI = "http://www.coker.com.au/bonnie++/${BPN}-${PV}.tgz \ - file://gcc-4.3-fixes.patch \ -" -SRC_URI[md5sum] = "750aa5b5051263a99c6c195888c74968" -SRC_URI[sha256sum] = "cb3866116634bf65760b6806be4afa7e24a1cad6f145c876df8721f01ba2e2cb" - -inherit autotools-brokensep - -SCRIPTS = "bon_csv2html bon_csv2txt" -EXES = "bonnie++ zcav" - -TARGET_CC_ARCH += "${LDFLAGS}" - -do_install () { - install -d ${D}/${bindir} - install -d ${D}/${sbindir} - install -m 0755 ${EXES} ${D}/${sbindir} - install -m 0755 ${SCRIPTS} ${D}/${bindir} -} - -PACKAGES =+ "bonnie-scripts" - -FILES_${PN} = "${sbindir}" -FILES_bonnie-scripts = "${bindir}" - -RDEPENDS_bonnie-scripts += "perl" diff --git a/meta-oe/recipes-benchmark/bonnie/bonnie++_1.04.bb b/meta-oe/recipes-benchmark/bonnie/bonnie++_1.04.bb new file mode 100644 index 0000000000..d7583f0764 --- /dev/null +++ b/meta-oe/recipes-benchmark/bonnie/bonnie++_1.04.bb @@ -0,0 +1,31 @@ +SUMMARY = "Tests large file IO and creation/deletion of small files" +HOMEPAGE = "http://www.coker.com.au/bonnie++/" +SECTION = "benchmark/tests" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://copyright.txt;md5=cd4dde95a6b9d122f0a9150ae9cc3ee0" + +SRC_URI = "http://www.coker.com.au/bonnie++/${BPN}_${PV}.tgz \ +" +SRC_URI[md5sum] = "1414aab86e2db1b4691bd4be82031012" +SRC_URI[sha256sum] = "507bd2ce5360c7c98b91b0fdc2bed5c9320b5c9699f7d4a3d1c86b256896c15e" + +inherit autotools-brokensep + +SCRIPTS = "bon_csv2html bon_csv2txt" +EXES = "bonnie++ zcav" + +TARGET_CC_ARCH += "${LDFLAGS}" + +do_install () { + install -d ${D}/${bindir} + install -d ${D}/${sbindir} + install -m 0755 ${EXES} ${D}/${sbindir} + install -m 0755 ${SCRIPTS} ${D}/${bindir} +} + +PACKAGES =+ "bonnie-scripts" + +FILES_${PN} = "${sbindir}" +FILES_bonnie-scripts = "${bindir}" + +RDEPENDS_bonnie-scripts += "perl" diff --git a/meta-oe/recipes-benchmark/bonnie/files/gcc-4.3-fixes.patch b/meta-oe/recipes-benchmark/bonnie/files/gcc-4.3-fixes.patch deleted file mode 100644 index 67f1b74948..0000000000 --- a/meta-oe/recipes-benchmark/bonnie/files/gcc-4.3-fixes.patch +++ /dev/null @@ -1,19 +0,0 @@ -Includes string.h to one of the source file. - -Upstream-Status: Inappropriate [not author.] ---- - zcav.cpp | 1 + - 1 file changed, 1 insertion(+) - -Index: bonnie++-1.03a/zcav.cpp -=================================================================== ---- bonnie++-1.03a.orig/zcav.cpp -+++ bonnie++-1.03a/zcav.cpp -@@ -15,6 +15,7 @@ using namespace std; - #else - #include - #endif -+#include - - // Read the specified number of megabytes of data from the fd and return the - // amount of time elapsed in seconds. -- cgit 1.2.3-korg