summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark/bonnie/bonnie++_2.00a.bb
diff options
context:
space:
mode:
authorJörg Sommer <joerg.sommer@navimatix.de>2024-01-28 19:20:58 +0100
committerKhem Raj <raj.khem@gmail.com>2024-01-28 20:04:24 -0800
commit1f8dc17b7cc7205a391b5284907371fab9a9bb66 (patch)
tree0b1e0605468b59b20d1822662b7d44ad42a51efa /meta-oe/recipes-benchmark/bonnie/bonnie++_2.00a.bb
parentede8aef105a12c0de0d7c00501f3f8c916cd6b5a (diff)
downloadmeta-openembedded-1f8dc17b7cc7205a391b5284907371fab9a9bb66.tar.gz
bonnie++: New recipe for version 2.0
Newer versions of bonnie get published on <https://doc.coker.com.au/projects/bonnie/>. Unfortunately, the new version doesn't compile with g++ 11 which requires *fix-csv2html-data.patch* and configure fails due to cross compilation which gets fixed with *fix-configure-lfs.patch* Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-benchmark/bonnie/bonnie++_2.00a.bb')
-rw-r--r--meta-oe/recipes-benchmark/bonnie/bonnie++_2.00a.bb33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/bonnie/bonnie++_2.00a.bb b/meta-oe/recipes-benchmark/bonnie/bonnie++_2.00a.bb
new file mode 100644
index 0000000000..29590bfe84
--- /dev/null
+++ b/meta-oe/recipes-benchmark/bonnie/bonnie++_2.00a.bb
@@ -0,0 +1,33 @@
1SUMMARY = "Tests large file IO and creation/deletion of small files"
2HOMEPAGE = "https://doc.coker.com.au/projects/bonnie/"
3SECTION = "benchmark/tests"
4LICENSE = "GPL-2.0-only"
5LIC_FILES_CHKSUM = "file://copyright.txt;md5=cd4dde95a6b9d122f0a9150ae9cc3ee0"
6
7SRC_URI = "\
8 http://www.coker.com.au/bonnie++/${BPN}-${PV}.tgz \
9 file://fix-configure-lfs.patch \
10 file://fix-csv2html-data.patch \
11 file://makefile-use-link-for-helper.patch \
12"
13SRC_URI[sha256sum] = "a8d33bbd81bc7eb559ce5bf6e584b9b53faea39ccfb4ae92e58f27257e468f0e"
14
15# force lfs to skip configure's check, because we are cross-building
16PACKAGECONFIG ?= "lfs"
17PACKAGECONFIG[lfs] = "--enable-lfs,--disable-lfs"
18
19inherit autotools
20
21EXTRA_OECONF += "--disable-stripping"
22EXTRA_OEMAKE += "-I ${S} VPATH=${S}"
23CXXFLAGS += "-I ${S}"
24
25do_install() {
26 oe_runmake eprefix='${D}${exec_prefix}' install-bin
27}
28
29PACKAGE_BEFORE_PN += "${PN}-scripts"
30
31FILES:${PN}-scripts = "${bindir}/bon_csv2*"
32
33RDEPENDS:${PN}-scripts += "perl"