diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
commit | c527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch) | |
tree | bb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/recipes-benchmark/bonnie++ | |
download | poky-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-benchmark/bonnie++')
-rw-r--r-- | meta/recipes-benchmark/bonnie++/bonnie++/gcc-4.3-fixes.patch | 24 | ||||
-rw-r--r-- | meta/recipes-benchmark/bonnie++/bonnie++_1.03e.bb | 28 |
2 files changed, 52 insertions, 0 deletions
diff --git a/meta/recipes-benchmark/bonnie++/bonnie++/gcc-4.3-fixes.patch b/meta/recipes-benchmark/bonnie++/bonnie++/gcc-4.3-fixes.patch new file mode 100644 index 0000000000..9f42df91ff --- /dev/null +++ b/meta/recipes-benchmark/bonnie++/bonnie++/gcc-4.3-fixes.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | Includes string.h to the file "zcav.cpp", because it uses the two functions: "strdup()" and "strcmp()". | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | Signed-off-by: Cindy Zhao <cindy.zhao@enea.com> | ||
6 | --- | ||
7 | zcav.cpp | 1 + | ||
8 | 1 files changed, 1 insertions(+), 0 deletions(-) | ||
9 | |||
10 | diff --git a/zcav.cpp b/zcav.cpp | ||
11 | index 1c39d85..e4fc4f5 100644 | ||
12 | --- a/zcav.cpp | ||
13 | +++ b/zcav.cpp | ||
14 | @@ -15,6 +15,7 @@ using namespace std; | ||
15 | #else | ||
16 | #include <vector.h> | ||
17 | #endif | ||
18 | +#include <string.h> | ||
19 | |||
20 | // Read the specified number of megabytes of data from the fd and return the | ||
21 | // amount of time elapsed in seconds. | ||
22 | -- | ||
23 | 1.7.5.4 | ||
24 | |||
diff --git a/meta/recipes-benchmark/bonnie++/bonnie++_1.03e.bb b/meta/recipes-benchmark/bonnie++/bonnie++_1.03e.bb new file mode 100644 index 0000000000..8a292c3755 --- /dev/null +++ b/meta/recipes-benchmark/bonnie++/bonnie++_1.03e.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | DESCRIPTION = "Tests large file IO and creation/deletion of small files." | ||
2 | HOMEPAGE = "http://www.coker.com.au/bonnie++/" | ||
3 | LICENSE = "GPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://copyright.txt;md5=cd4dde95a6b9d122f0a9150ae9cc3ee0" | ||
5 | |||
6 | SRC_URI = "http://www.coker.com.au/bonnie++/bonnie++-${PV}.tgz \ | ||
7 | " | ||
8 | SRC_URI[md5sum] = "750aa5b5051263a99c6c195888c74968" | ||
9 | SRC_URI[sha256sum] = "cb3866116634bf65760b6806be4afa7e24a1cad6f145c876df8721f01ba2e2cb" | ||
10 | |||
11 | inherit autotools | ||
12 | |||
13 | SCRIPTS = "bon_csv2html bon_csv2txt" | ||
14 | EXES = "bonnie++ zcav" | ||
15 | |||
16 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
17 | |||
18 | do_install () { | ||
19 | install -d ${D}/usr/bin | ||
20 | install -d ${D}/usr/sbin | ||
21 | install -m 0755 ${EXES} ${D}/usr/sbin | ||
22 | install -m 0755 ${SCRIPTS} ${D}/usr/bin | ||
23 | } | ||
24 | |||
25 | PACKAGES =+ "bonnie-scripts" | ||
26 | |||
27 | FILES_${PN} = "${sbindir}" | ||
28 | FILES_bonnie-scripts = "${bindir}" | ||