Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH] iozone: update version to 414
Date: Sun, 20 Apr 2014 11:41:11 +0200	[thread overview]
Message-ID: <20140420094111.GJ2486@jama> (raw)
In-Reply-To: <1397210212-26263-1-git-send-email-jackie.huang@windriver.com>

[-- Attachment #1: Type: text/plain, Size: 7213 bytes --]

On Fri, Apr 11, 2014 at 05:56:52PM +0800, jackie.huang@windriver.com wrote:
> From: Jackie Huang <jackie.huang@windriver.com>
> 
> Changes:
> - use BPN to fix multilib builds
> - drop the fileop-arm.patch since the issue is already
>   fixed in the new version.
> 
> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
> ---
>  .../iozone3/iozone3/fileop-arm.patch               |   32 ------------
>  .../iozone3/{iozone3_263.bb => iozone3_414.bb}     |   51 +++++++++++---------
>  2 files changed, 27 insertions(+), 56 deletions(-)
>  delete mode 100644 meta-oe/recipes-benchmark/iozone3/iozone3/fileop-arm.patch
>  rename meta-oe/recipes-benchmark/iozone3/{iozone3_263.bb => iozone3_414.bb} (63%)
> 
> diff --git a/meta-oe/recipes-benchmark/iozone3/iozone3/fileop-arm.patch b/meta-oe/recipes-benchmark/iozone3/iozone3/fileop-arm.patch
> deleted file mode 100644
> index c71bfee..0000000
> --- a/meta-oe/recipes-benchmark/iozone3/iozone3/fileop-arm.patch
> +++ /dev/null
> @@ -1,32 +0,0 @@
> -Modify makefile to compile fileop.c file for ARM architecture.
> -
> -Upstream-Status: Inappropriate [not author]
> -Index: current/makefile
> -===================================================================
> ---- current.orig/makefile	2006-10-14 21:42:36.000000000 +0200
> -+++ current/makefile	2006-10-14 21:40:02.000000000 +0200
> -@@ -190,9 +190,10 @@
> - #
> - # GNU 'C' compiler Linux build with threads, largefiles, async I/O
> - #
> --linux-arm:	iozone_linux-arm.o  libbif.o libasync.o
> -+linux-arm:	iozone_linux-arm.o  libbif.o libasync.o fileop_linux-arm.o
> - 	$(CC) -O3 $(LDFLAGS) iozone_linux-arm.o libbif.o libasync.o \
> - 		-lrt -lpthread -o iozone
> -+	$(CC)  -O3 -Dlinux fileop_linux-arm.o -o fileop
> - 
> - #
> - # GNU 'C' compiler Linux build with threads, largefiles, async I/O 
> -@@ -725,6 +726,12 @@
> - 	@echo ""
> - 	$(CC) -Wall -c -O3 $(CFLAGS) fileop.c -o fileop_linux-AMD64.o
> - 
> -+fileop_linux-arm.o:	fileop.c
> -+	@echo ""
> -+	@echo "Building fileop for Linux-arm"
> -+	@echo ""
> -+	$(CC) -Wall -c -O3 $(CFLAGS) fileop.c -o fileop_linux-arm.o
> -+
> - fileop_windows.o: fileop.c
> - 	@echo ""
> - 	@echo "Building fileop for Windows"
> diff --git a/meta-oe/recipes-benchmark/iozone3/iozone3_263.bb b/meta-oe/recipes-benchmark/iozone3/iozone3_414.bb
> similarity index 63%
> rename from meta-oe/recipes-benchmark/iozone3/iozone3_263.bb
> rename to meta-oe/recipes-benchmark/iozone3/iozone3_414.bb
> index 9de0ac7..572d766 100644
> --- a/meta-oe/recipes-benchmark/iozone3/iozone3_263.bb
> +++ b/meta-oe/recipes-benchmark/iozone3/iozone3_414.bb
> @@ -3,46 +3,49 @@ HOMEPAGE = "http://www.iozone.org/"
>  AUTHOR = "Don Capps <don.capps2@verizon.net>, William D. Norcott <wnorcott@us.oracle.com>"
>  SECTION = "console/tests"
>  LICENSE = "iozone3"
> -LIC_FILES_CHKSUM = "file://iozone.c;beginline=237;endline=241;md5=ab42a6185fd0443978871f11a007ac0b"
> +LIC_FILES_CHKSUM = "file://iozone.c;beginline=266;endline=270;md5=ab42a6185fd0443978871f11a007ac0b"
>  
> -
> -SRC_URI = "http://www.iozone.org/src/current/iozone3_263.tar \
> +SRC_URI = "http://fossies.org/unix/privat/${BPN}_${PV}.tar.gz \

$ wget http://fossies.org/unix/privat/iozone3_414.tar.gz
--2014-04-20 09:40:22--
http://fossies.org/unix/privat/iozone3_414.tar.gz
Resolving fossies.org (fossies.org)... 78.46.58.28
Connecting to fossies.org (fossies.org)|78.46.58.28|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-04-20 09:40:23 ERROR 404: Not Found.


>      file://copyright.txt \
> -    file://fileop-arm.patch \
>  "
> -SRC_URI[md5sum] = "44fd88df361ec4508e10c8d6615245fa"
> -SRC_URI[sha256sum] = "920fde1a3843539570e2df4aa611e74df102e52d363c5973d5a9d15bdf976461"
> +SRC_URI[md5sum] = "85a3e292f84580a36e6c99762a459dd6"
> +SRC_URI[sha256sum] = "f6c2fde4bfaef1ff8aaf99a315737a846886aa54751a6d9309e14fbec0cbe7a9"
>  
> -S = "${WORKDIR}/${PN}_${PV}/src/current/"
> +S = "${WORKDIR}/${BPN}_${PV}/src/current/"
>  
> -EXTRA_OEMAKE_powerpc = "linux-powerpc CC='${CC}'"
> -EXTRA_OEMAKE_powerpc64 = "linux-powerpc64 CC='${CC}'"
> -EXTRA_OEMAKE_arm = "linux-arm CC='${CC}'"
> -EXTRA_OEMAKE = "linux CC='${CC}'"
> +#
> +# All other arches can use the default OEMAKE except those
> +# explicitly listed below. Another, the iozone3 Makefile
> +# needs to be told about the cross-compiler explicitly here.
> +#
> +EXTRA_OEMAKE_powerpc = "linux-powerpc CC='${CC}' GCC='${CC}'"
> +EXTRA_OEMAKE_powerpc64 = "linux-powerpc64 CC='${CC}' GCC='${CC}'"
> +EXTRA_OEMAKE_arm = "linux-arm CC='${CC}' GCC='${CC}'"
> +EXTRA_OEMAKE = "linux CC='${CC}' GCC='${CC}'"
>  
>  TARGET_CC_ARCH += "${LDFLAGS}"
>  
>  do_install() {
>      install -d ${D}${bindir} \
> -        ${D}${mandir}/man1 \
> -    ${D}${datadir}/doc/${PN}/examples
> +               ${D}${mandir}/man1 \
> +               ${D}${datadir}/doc/${BPN}/examples
>  
>      install -m 0755 ${S}/iozone ${D}${bindir}
>      install -m 0755 ${S}/fileop ${D}${bindir}
> -    install -m 0644 ${WORKDIR}/${PN}_${PV}/docs/iozone.1 ${D}${mandir}/man1/
> -    install -m 0644 ${WORKDIR}/copyright.txt ${D}${datadir}/doc/${PN}/
> +    install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/iozone.1 ${D}${mandir}/man1/
> +    install -m 0644 ${WORKDIR}/copyright.txt ${D}${datadir}/doc/${BPN}/
>  
> -    install -m 0644 ${S}/*.dem ${D}${datadir}/doc/${PN}/examples
> -    install -m 0644 ${S}/client_list ${D}${datadir}/doc/${PN}/examples
> -    install -m 0644 ${S}/Gnuplot.txt ${D}${datadir}/doc/${PN}/examples
> +    install -m 0644 ${S}/*.dem ${D}${datadir}/doc/${BPN}/examples
> +    install -m 0644 ${S}/client_list ${D}${datadir}/doc/${BPN}/examples
> +    install -m 0644 ${S}/Gnuplot.txt ${D}${datadir}/doc/${BPN}/examples
>  
> -    install -m 0755 ${S}/Generate_Graphs ${D}${datadir}/doc/${PN}/examples
> -    install -m 0755 ${S}/gengnuplot.sh ${D}${datadir}/doc/${PN}/examples
> -    install -m 0755 ${S}/report.pl ${D}${datadir}/doc/${PN}/examples
> +    install -m 0755 ${S}/Generate_Graphs ${D}${datadir}/doc/${BPN}/examples
> +    install -m 0755 ${S}/gengnuplot.sh ${D}${datadir}/doc/${BPN}/examples
> +    install -m 0755 ${S}/report.pl ${D}${datadir}/doc/${BPN}/examples
>  
> -    install -m 0644 ${WORKDIR}/${PN}_${PV}/docs/Iozone_ps.gz ${D}${datadir}/doc/${PN}/
> -    install -m 0644 ${WORKDIR}/${PN}_${PV}/docs/IOzone_msword_98.pdf ${D}${datadir}/doc/${PN}/
> -    install -m 0644 ${WORKDIR}/${PN}_${PV}/docs/Run_rules.doc ${D}${datadir}/doc/${PN}/
> +    install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/Iozone_ps.gz ${D}${datadir}/doc/${BPN}/
> +    install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/IOzone_msword_98.pdf ${D}${datadir}/doc/${BPN}/
> +    install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/Run_rules.doc ${D}${datadir}/doc/${BPN}/
>  }
>  
>  FILES_${PN} += "${datadir}/doc/${PN}/copyright.txt"
> -- 
> 1.7.9.5
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

  reply	other threads:[~2014-04-20  9:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-11  9:56 [meta-oe][PATCH] iozone: update version to 414 jackie.huang
2014-04-20  9:41 ` Martin Jansa [this message]
2014-04-21  5:38   ` Huang, Jie (Jackie)
2014-04-21 11:46     ` Martin Jansa
2014-04-22  2:54       ` Huang, Jie (Jackie)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140420094111.GJ2486@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox