diff options
| author | Jörg Sommer <joerg.sommer@navimatix.de> | 2024-01-28 19:20:58 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-01-28 20:04:24 -0800 |
| commit | 1f8dc17b7cc7205a391b5284907371fab9a9bb66 (patch) | |
| tree | 0b1e0605468b59b20d1822662b7d44ad42a51efa /meta-oe/recipes-benchmark/bonnie/bonnie++_2.00a.bb | |
| parent | ede8aef105a12c0de0d7c00501f3f8c916cd6b5a (diff) | |
| download | meta-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.bb | 33 |
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 @@ | |||
| 1 | SUMMARY = "Tests large file IO and creation/deletion of small files" | ||
| 2 | HOMEPAGE = "https://doc.coker.com.au/projects/bonnie/" | ||
| 3 | SECTION = "benchmark/tests" | ||
| 4 | LICENSE = "GPL-2.0-only" | ||
| 5 | LIC_FILES_CHKSUM = "file://copyright.txt;md5=cd4dde95a6b9d122f0a9150ae9cc3ee0" | ||
| 6 | |||
| 7 | SRC_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 | " | ||
| 13 | SRC_URI[sha256sum] = "a8d33bbd81bc7eb559ce5bf6e584b9b53faea39ccfb4ae92e58f27257e468f0e" | ||
| 14 | |||
| 15 | # force lfs to skip configure's check, because we are cross-building | ||
| 16 | PACKAGECONFIG ?= "lfs" | ||
| 17 | PACKAGECONFIG[lfs] = "--enable-lfs,--disable-lfs" | ||
| 18 | |||
| 19 | inherit autotools | ||
| 20 | |||
| 21 | EXTRA_OECONF += "--disable-stripping" | ||
| 22 | EXTRA_OEMAKE += "-I ${S} VPATH=${S}" | ||
| 23 | CXXFLAGS += "-I ${S}" | ||
| 24 | |||
| 25 | do_install() { | ||
| 26 | oe_runmake eprefix='${D}${exec_prefix}' install-bin | ||
| 27 | } | ||
| 28 | |||
| 29 | PACKAGE_BEFORE_PN += "${PN}-scripts" | ||
| 30 | |||
| 31 | FILES:${PN}-scripts = "${bindir}/bon_csv2*" | ||
| 32 | |||
| 33 | RDEPENDS:${PN}-scripts += "perl" | ||
