From: Khem Raj <raj.khem@gmail.com>
To: Mubin Sayyed <mubin.usman.sayyed@xilinx.com>
Cc: Mubin Sayyed <mubinusm@xilinx.com>,
openembedded-core@lists.openembedded.org
Subject: Re: [meta-oe] [master] [PATCH 2/3] benchmarks:Added recipe for dhrystone
Date: Tue, 23 Aug 2016 17:56:58 -0700 [thread overview]
Message-ID: <94CF2103-219D-4209-AF1E-6667B44B0A1B@gmail.com> (raw)
In-Reply-To: <1471943028-8276-3-git-send-email-mubinusm@xilinx.com>
[-- Attachment #1: Type: text/plain, Size: 2021 bytes --]
> On Aug 23, 2016, at 2:03 AM, Mubin Sayyed <mubin.usman.sayyed@xilinx.com> wrote:
>
> This patch adds recipe for dhrystone benchmarks.
> Dhrystone benchmarks measure CPU performance.
>
> Signed-off-by: Mubin Sayyed <mubinusm@xilinx.com>
> ---
> .../recipes-benchmark/dhrystone/dhrystone_2.1.bb | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
> create mode 100644 meta-oe/recipes-benchmark/dhrystone/dhrystone_2.1.bb
>
> diff --git a/meta-oe/recipes-benchmark/dhrystone/dhrystone_2.1.bb b/meta-oe/recipes-benchmark/dhrystone/dhrystone_2.1.bb
> new file mode 100644
> index 0000000..d0026d5
> --- /dev/null
> +++ b/meta-oe/recipes-benchmark/dhrystone/dhrystone_2.1.bb
> @@ -0,0 +1,22 @@
> +DESCRIPTION = "CPU Benchmark to measure integer performance"
> +SECTION = "benchmark/tests"
> +HOMEPAGE = "http://en.wikipedia.org/wiki/Dhrystone"
> +
> +LICENSE = "NCSA"
> +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/NCSA;md5=1b5fdec70ee13ad8a91667f16c1959d7"
> +
> +SRC_URI = "http://fossies.org/linux/privat/old/dhrystone-${PV}.tar.gz"
> +
> +SRC_URI[md5sum] = "15e13d1d2329571a60c04b2f05920d24"
> +SRC_URI[sha256sum] = "8c8da46c34fde271b8f60a96a432164d2918706911199f43514861f07ef6b2f1"
> +
> +EXTRA_OEMAKE = "-e MAKEFLAGS='GCC=${CC}' 'PROGS=unix' 'TIME_FUNC= -DTIME' \
> + 'HZ=60' 'OPTIMIZE= -O4' 'GCCOPTIM=-O’"
There seems to be no -O4 anything beyond -O3 is same as -O3
however we probably should use the SELECTED_OPTIMIZATIONS
> +S = "${WORKDIR}"
> +
> +do_install () {
> +
> + install -d ${D}${bindir}
> + install -m 0755 gcc_dry2 ${D}${bindir}
> + install -m 0755 gcc_dry2reg ${D}${binder}
may be just use install -Dm gcc_dry2 ${D}${binder}/gcc_dry2
and can combine the install -d into single cmd
> +}
> --
> 1.9.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]
next prev parent reply other threads:[~2016-08-24 0:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1471943028-8276-1-git-send-email-mubinusm@xilinx.com>
2016-08-23 9:03 ` [meta-oe] [master] [PATCH 2/3] benchmarks:Added recipe for dhrystone Mubin Sayyed
2016-08-24 0:56 ` Khem Raj [this message]
2016-08-25 9:56 ` Mubin Usman Sayyed
2016-08-23 9:47 [meta-oe] [master] [PATCH 0/3] Added cpu benchmarks Mubin Sayyed
2016-08-23 9:47 ` [meta-oe] [master] [PATCH 2/3] benchmarks:Added recipe for dhrystone Mubin Sayyed
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=94CF2103-219D-4209-AF1E-6667B44B0A1B@gmail.com \
--to=raj.khem@gmail.com \
--cc=mubin.usman.sayyed@xilinx.com \
--cc=mubinusm@xilinx.com \
--cc=openembedded-core@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