summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark/iozone3
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-benchmark/iozone3')
-rw-r--r--meta-oe/recipes-benchmark/iozone3/iozone3/0001-let-system-headers-provide-pread64.patch34
-rw-r--r--meta-oe/recipes-benchmark/iozone3/iozone3_507.bb (renamed from meta-oe/recipes-benchmark/iozone3/iozone3_506.bb)17
2 files changed, 8 insertions, 43 deletions
diff --git a/meta-oe/recipes-benchmark/iozone3/iozone3/0001-let-system-headers-provide-pread64.patch b/meta-oe/recipes-benchmark/iozone3/iozone3/0001-let-system-headers-provide-pread64.patch
deleted file mode 100644
index a61a56a71d..0000000000
--- a/meta-oe/recipes-benchmark/iozone3/iozone3/0001-let-system-headers-provide-pread64.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 64389a67b93a53b9fb7e9e20e905a5ee4613606b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 15 Jan 2020 17:10:42 -0800
4Subject: [PATCH] let system headers provide pread64()
5
6The signature does not match with system headers anyway
7
8Fixes
9
10iozone.c:1270:9: error: redeclaration of 'pread64' must have the 'overloadable' attribute ssize_t pread64(); ^ /mnt/b/yoe/build/tmp/work/core2-64-yoe-linux/iozone3/488-r0/recipe-sysroot/usr/include/bits/unistd.h:83:1: note: previous overload of function is here pread64 (int __fd, void *const __clang_pass_object_size0 __buf, ^
111 error generated.
12
13Upstream-Status: Pending
14
15Signed-off-by: Khem Raj <raj.khem@gmail.com>
16---
17 iozone.c | 1 -
18 1 file changed, 1 deletion(-)
19
20diff --git a/iozone.c b/iozone.c
21index 090dd5f..fdea400 100644
22--- a/iozone.c
23+++ b/iozone.c
24@@ -1267,7 +1267,6 @@ int pit_gettimeofday();
25 #ifdef HAVE_ANSIC_C
26 #if defined (HAVE_PREAD) && defined(_LARGEFILE64_SOURCE)
27 ssize_t pwrite64();
28-ssize_t pread64();
29 #endif
30 #if !defined(linux)
31 char *getenv();
32--
332.25.0
34
diff --git a/meta-oe/recipes-benchmark/iozone3/iozone3_506.bb b/meta-oe/recipes-benchmark/iozone3/iozone3_507.bb
index 5a1306b6fe..725b0af209 100644
--- a/meta-oe/recipes-benchmark/iozone3/iozone3_506.bb
+++ b/meta-oe/recipes-benchmark/iozone3/iozone3_507.bb
@@ -3,18 +3,17 @@ HOMEPAGE = "http://www.iozone.org/"
3SECTION = "console/tests" 3SECTION = "console/tests"
4LICENSE = "iozone3" 4LICENSE = "iozone3"
5LIC_FILES_CHKSUM = "file://iozone.c;beginline=37;endline=48;md5=7331260091868dcad0f9edea735b5f4b \ 5LIC_FILES_CHKSUM = "file://iozone.c;beginline=37;endline=48;md5=7331260091868dcad0f9edea735b5f4b \
6 file://iozone.c;beginline=276;endline=282;md5=77f9ee51e45b57a7e7519c4fa0b4f00b \ 6 file://iozone.c;beginline=317;endline=323;md5=77f9ee51e45b57a7e7519c4fa0b4f00b \
7" 7"
8SRC_URI = "http://www.iozone.org/src/current/${BPN}_${PV}.tar \ 8SRC_URI = "http://www.iozone.org/src/current/${BPN}_${PV}.tar \
9 file://parallelism.patch \ 9 file://parallelism.patch \
10 file://0001-let-system-headers-provide-pread64.patch \
11 file://copyright.txt \ 10 file://copyright.txt \
12" 11"
13SRC_URI[sha256sum] = "114ce5c071873b9a2c7ba6e73d05d5ef7e66564392acbfcdc0b3261db10fcbe7" 12SRC_URI[sha256sum] = "1e8087ada056f5d8018ee0bc76686d416fc2251ed03038055dbd0af78d1e5ce3"
14 13
15UPSTREAM_CHECK_REGEX = "iozone3_(?P<pver>\d+).tar" 14UPSTREAM_CHECK_REGEX = "iozone3_(?P<pver>\d+).tar"
16 15
17S = "${WORKDIR}/${BPN}_${PV}/src/current" 16S = "${UNPACKDIR}/${BPN}_${PV}/src/current"
18 17
19# 18#
20# All other arches can use the default OEMAKE except those 19# All other arches can use the default OEMAKE except those
@@ -37,8 +36,8 @@ do_install() {
37 36
38 install -m 0755 ${S}/iozone ${D}${bindir} 37 install -m 0755 ${S}/iozone ${D}${bindir}
39 install -m 0755 ${S}/fileop ${D}${bindir} 38 install -m 0755 ${S}/fileop ${D}${bindir}
40 install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/iozone.1 ${D}${mandir}/man1/ 39 install -m 0644 ${S}/../../docs/iozone.1 ${D}${mandir}/man1/
41 install -m 0644 ${WORKDIR}/copyright.txt ${D}${datadir}/doc/${BPN}/ 40 install -m 0644 ${UNPACKDIR}/copyright.txt ${D}${datadir}/doc/${BPN}/
42 41
43 install -m 0644 ${S}/*.dem ${D}${datadir}/doc/${BPN}/examples 42 install -m 0644 ${S}/*.dem ${D}${datadir}/doc/${BPN}/examples
44 install -m 0644 ${S}/client_list ${D}${datadir}/doc/${BPN}/examples 43 install -m 0644 ${S}/client_list ${D}${datadir}/doc/${BPN}/examples
@@ -48,9 +47,9 @@ do_install() {
48 install -m 0755 ${S}/gengnuplot.sh ${D}${datadir}/doc/${BPN}/examples 47 install -m 0755 ${S}/gengnuplot.sh ${D}${datadir}/doc/${BPN}/examples
49 install -m 0755 ${S}/report.pl ${D}${datadir}/doc/${BPN}/examples 48 install -m 0755 ${S}/report.pl ${D}${datadir}/doc/${BPN}/examples
50 49
51 install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/Iozone_ps.gz ${D}${datadir}/doc/${BPN}/ 50 install -m 0644 ${S}/../../docs/Iozone_ps.gz ${D}${datadir}/doc/${BPN}/
52 install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/IOzone_msword_98.pdf ${D}${datadir}/doc/${BPN}/ 51 install -m 0644 ${S}/../../docs/IOzone_msword_98.pdf ${D}${datadir}/doc/${BPN}/
53 install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/Run_rules.doc ${D}${datadir}/doc/${BPN}/ 52 install -m 0644 ${S}/../../docs/Run_rules.doc ${D}${datadir}/doc/${BPN}/
54} 53}
55 54
56FILES:${PN} += "${datadir}/doc/${PN}/copyright.txt" 55FILES:${PN} += "${datadir}/doc/${PN}/copyright.txt"