Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | SUMMARY = "Filesystem and Disk Benchmarking Tool" |
| 2 | HOMEPAGE = "http://www.iozone.org/" |
| 3 | AUTHOR = "Don Capps <don.capps2@verizon.net>, William D. Norcott <wnorcott@us.oracle.com>" |
| 4 | SECTION = "console/tests" |
| 5 | LICENSE = "iozone3" |
| 6 | LIC_FILES_CHKSUM = "file://iozone.c;beginline=37;endline=48;md5=7331260091868dcad0f9edea735b5f4b \ |
Brad Bishop | 868407c | 2019-11-04 13:24:47 -0500 | [diff] [blame] | 7 | file://iozone.c;beginline=276;endline=282;md5=77f9ee51e45b57a7e7519c4fa0b4f00b \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 8 | " |
| 9 | SRC_URI = "http://www.iozone.org/src/current/${BPN}_${PV}.tar \ |
| 10 | file://parallelism.patch \ |
| 11 | file://copyright.txt \ |
| 12 | " |
Brad Bishop | 868407c | 2019-11-04 13:24:47 -0500 | [diff] [blame] | 13 | SRC_URI[md5sum] = "2dbe035caf99c5367625352e158bb866" |
| 14 | SRC_URI[sha256sum] = "2c488a7ccddd624fd557af16e71442c367b131d6178e1b4023bbd532bacdda59" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 15 | |
| 16 | UPSTREAM_CHECK_REGEX = "iozone3_(?P<pver>\d+).tar" |
| 17 | |
| 18 | S = "${WORKDIR}/${BPN}_${PV}/src/current/" |
| 19 | |
| 20 | # |
| 21 | # All other arches can use the default OEMAKE except those |
| 22 | # explicitly listed below. Another, the iozone3 Makefile |
| 23 | # needs to be told about the cross-compiler explicitly here. |
| 24 | # |
| 25 | EXTRA_OEMAKE_powerpc = "linux-powerpc CC='${CC}' GCC='${CC}'" |
| 26 | EXTRA_OEMAKE_powerpc64 = "linux-powerpc64 CC='${CC}' GCC='${CC}'" |
| 27 | EXTRA_OEMAKE_x86-64 = "linux-AMD64 CC='${CC}' GCC='${CC}'" |
| 28 | EXTRA_OEMAKE_arm = "linux-arm CC='${CC}' GCC='${CC}'" |
| 29 | EXTRA_OEMAKE = "linux CC='${CC}' GCC='${CC}'" |
| 30 | |
| 31 | TARGET_CC_ARCH += "${LDFLAGS}" |
| 32 | |
| 33 | do_install() { |
| 34 | install -d ${D}${bindir} \ |
| 35 | ${D}${mandir}/man1 \ |
| 36 | ${D}${datadir}/doc/${BPN}/examples |
| 37 | |
| 38 | install -m 0755 ${S}/iozone ${D}${bindir} |
| 39 | install -m 0755 ${S}/fileop ${D}${bindir} |
| 40 | install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/iozone.1 ${D}${mandir}/man1/ |
| 41 | install -m 0644 ${WORKDIR}/copyright.txt ${D}${datadir}/doc/${BPN}/ |
| 42 | |
| 43 | install -m 0644 ${S}/*.dem ${D}${datadir}/doc/${BPN}/examples |
| 44 | install -m 0644 ${S}/client_list ${D}${datadir}/doc/${BPN}/examples |
| 45 | install -m 0644 ${S}/Gnuplot.txt ${D}${datadir}/doc/${BPN}/examples |
| 46 | |
| 47 | install -m 0755 ${S}/Generate_Graphs ${D}${datadir}/doc/${BPN}/examples |
| 48 | install -m 0755 ${S}/gengnuplot.sh ${D}${datadir}/doc/${BPN}/examples |
| 49 | install -m 0755 ${S}/report.pl ${D}${datadir}/doc/${BPN}/examples |
| 50 | |
| 51 | install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/Iozone_ps.gz ${D}${datadir}/doc/${BPN}/ |
| 52 | install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/IOzone_msword_98.pdf ${D}${datadir}/doc/${BPN}/ |
| 53 | install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/Run_rules.doc ${D}${datadir}/doc/${BPN}/ |
| 54 | } |
| 55 | |
| 56 | FILES_${PN} += "${datadir}/doc/${PN}/copyright.txt" |
| 57 | |
| 58 | # LICENSE: |
| 59 | # |
| 60 | # Copyright 1991, 1992, 1994, 1998, 1999, 2002 William D. Norcott |
| 61 | # |
| 62 | # License to freely use and distribute this software is hereby granted |
| 63 | # by the author, subject to the condition that this copyright notice |
| 64 | # remains intact. The author retains the exclusive right to publish |
| 65 | # derivative works based on this work, including, but not limited to |
| 66 | # revised versions of this work. |
| 67 | # |
| 68 | |
| 69 | # |
| 70 | # Below is author reply to question about distributing iozone3 in |
| 71 | # OpenEmbedded: |
| 72 | # |
| 73 | # ======================================================================== |
| 74 | # |
| 75 | # Marcin, |
| 76 | # |
| 77 | # Re-distribution is permitted as long as the copyright is |
| 78 | # maintained and the source code is not changed. I do not |
| 79 | # see a problem with your mods to enable fileop for Linux-arm, |
| 80 | # as these mods have been returned to the Iozone folks, |
| 81 | # and they have been accepted for inclusion in the next |
| 82 | # release :-) |
| 83 | # |
| 84 | # Thank you for your contribution, |
| 85 | # Don Capps |
| 86 | # |
| 87 | # ----- Original Message ----- |
| 88 | # From: "Marcin Juszkiewicz" <firma@hrw.one.pl> |
| 89 | # To: "Don Capps" <don.capps2@verizon.net>; "William D. Norcott" |
| 90 | # <wnorcott@us.oracle.com> |
| 91 | # Sent: Sunday, October 29, 2006 4:55 PM |
| 92 | # Subject: iozone3 263 patch for arm and License question |
| 93 | # |
| 94 | # |
| 95 | # > Morning |
| 96 | # > |
| 97 | # > I want to include iozone3 in OpenEmbedded [1] metadata to give it for |
| 98 | # > other developers. Currently OE is used to build few distributions for |
| 99 | # > misc platforms: ARM, SH3, SH4, x86, PowerPC and different types of |
| 100 | # > machines (PDA, settopbox, devboards, desktops, thin clients, routers). |
| 101 | # > |
| 102 | # > According to your distribution of derivations is forbidden. Packaging |
| 103 | # > iozone3 in OpenEmbedded will not involve any source code changes. But |
| 104 | # > when I was building it for ARM I discovered that fileop binary was not |
| 105 | # > built - so I created patch for it (attached). Not yet tested it on target |
| 106 | # > device. |
| 107 | # > |
| 108 | # > Thus, I seek your written permission via e-mail to distribute a package of |
| 109 | # > the unmodified source code and also a package of the pre-compiled binary. |
| 110 | # > Your copyright statement will be included in the package. |
| 111 | # > |
| 112 | # > |
| 113 | # > 1. http://www.openembedded.org/ |
| 114 | # > |
| 115 | # > Regards |
| 116 | # > -- |
| 117 | # > JID: hrw-jabber.org |
| 118 | # > OpenEmbedded developer/consultant |
| 119 | |