diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
commit | 1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e (patch) | |
tree | a21a5fc103bb3bd65ecd85ed22be5228fc54e447 /meta-oe/recipes-benchmark/bonnie | |
download | meta-openembedded-1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-benchmark/bonnie')
-rw-r--r-- | meta-oe/recipes-benchmark/bonnie/bonnie++_1.03e.bb | 32 | ||||
-rw-r--r-- | meta-oe/recipes-benchmark/bonnie/files/gcc-4.3-fixes.patch | 19 |
2 files changed, 51 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/bonnie/bonnie++_1.03e.bb b/meta-oe/recipes-benchmark/bonnie/bonnie++_1.03e.bb new file mode 100644 index 000000000..2c1217e34 --- /dev/null +++ b/meta-oe/recipes-benchmark/bonnie/bonnie++_1.03e.bb | |||
@@ -0,0 +1,32 @@ | |||
1 | SUMMARY = "Tests large file IO and creation/deletion of small files" | ||
2 | HOMEPAGE = "http://www.coker.com.au/bonnie++/" | ||
3 | SECTION = "benchmark/tests" | ||
4 | LICENSE = "GPLv2" | ||
5 | LIC_FILES_CHKSUM = "file://copyright.txt;md5=cd4dde95a6b9d122f0a9150ae9cc3ee0" | ||
6 | |||
7 | SRC_URI = "http://www.coker.com.au/bonnie++/${BPN}-${PV}.tgz \ | ||
8 | file://gcc-4.3-fixes.patch \ | ||
9 | " | ||
10 | SRC_URI[md5sum] = "750aa5b5051263a99c6c195888c74968" | ||
11 | SRC_URI[sha256sum] = "cb3866116634bf65760b6806be4afa7e24a1cad6f145c876df8721f01ba2e2cb" | ||
12 | |||
13 | inherit autotools-brokensep | ||
14 | |||
15 | SCRIPTS = "bon_csv2html bon_csv2txt" | ||
16 | EXES = "bonnie++ zcav" | ||
17 | |||
18 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
19 | |||
20 | do_install () { | ||
21 | install -d ${D}/${bindir} | ||
22 | install -d ${D}/${sbindir} | ||
23 | install -m 0755 ${EXES} ${D}/${sbindir} | ||
24 | install -m 0755 ${SCRIPTS} ${D}/${bindir} | ||
25 | } | ||
26 | |||
27 | PACKAGES =+ "bonnie-scripts" | ||
28 | |||
29 | FILES_${PN} = "${sbindir}" | ||
30 | FILES_bonnie-scripts = "${bindir}" | ||
31 | |||
32 | 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 new file mode 100644 index 000000000..67f1b7494 --- /dev/null +++ b/meta-oe/recipes-benchmark/bonnie/files/gcc-4.3-fixes.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | Includes string.h to one of the source file. | ||
2 | |||
3 | Upstream-Status: Inappropriate [not author.] | ||
4 | --- | ||
5 | zcav.cpp | 1 + | ||
6 | 1 file changed, 1 insertion(+) | ||
7 | |||
8 | Index: bonnie++-1.03a/zcav.cpp | ||
9 | =================================================================== | ||
10 | --- bonnie++-1.03a.orig/zcav.cpp | ||
11 | +++ bonnie++-1.03a/zcav.cpp | ||
12 | @@ -15,6 +15,7 @@ using namespace std; | ||
13 | #else | ||
14 | #include <vector.h> | ||
15 | #endif | ||
16 | +#include <string.h> | ||
17 | |||
18 | // Read the specified number of megabytes of data from the fd and return the | ||
19 | // amount of time elapsed in seconds. | ||