diff options
| author | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:38:32 +0100 |
|---|---|---|
| committer | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:50:20 +0100 |
| commit | e2e6f6fe07049f33cb6348780fa975162752e421 (patch) | |
| tree | b1813295411235d1297a0ed642b1346b24fdfb12 /meta/recipes-benchmark | |
| download | poky-e2e6f6fe07049f33cb6348780fa975162752e421.tar.gz | |
initial commit of Enea Linux 3.1
Migrated from the internal git server on the dora-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta/recipes-benchmark')
| -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}" | ||
