From: Denys Dmytriyenko <denys@ti.com>
To: "Franklin S. Cooper Jr" <fcooper@ti.com>
Cc: meta-arago@arago-project.org
Subject: Re: [PATCH 2/3] stream: Add append for TISDK customizations
Date: Wed, 4 Mar 2015 15:20:26 -0500 [thread overview]
Message-ID: <20150304202026.GK6052@edge> (raw)
In-Reply-To: <1425499517-11576-2-git-send-email-fcooper@ti.com>
On Wed, Mar 04, 2015 at 02:05:15PM -0600, Franklin S. Cooper Jr wrote:
> From: "Franklin S. Cooper Jr" <fcooper@ti.com>
>
> * Use an SDK branch that slightly tweaks the makefile to include generic
> optimizations that should be used by all TI platforms.
> * Also manually set certain variables to insure no additional/unexpected
> compiler optimization are pulled in.
>
> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> ---
> .../recipes-benchmark/stream/stream_git.bbappend | 10 ++++++++++
> 1 file changed, 10 insertions(+)
> create mode 100644 meta-arago-distro/recipes-benchmark/stream/stream_git.bbappend
>
> diff --git a/meta-arago-distro/recipes-benchmark/stream/stream_git.bbappend b/meta-arago-distro/recipes-benchmark/stream/stream_git.bbappend
> new file mode 100644
> index 0000000..83adfb6
> --- /dev/null
> +++ b/meta-arago-distro/recipes-benchmark/stream/stream_git.bbappend
> @@ -0,0 +1,10 @@
> +PR_append = "-arago0"
> +
> +BRANCH = "sdk"
> +SRCREV = "cfd73a33c0ceef1f8532ce6a71de3bcf9435f6a2"
> +
> +do_compile_prepend() {
> + #Explicitly set some variables to insure no unexpected optimizations are being passed in.
> + export CFLAGS="-isystem${EXTERNAL_TOOLCHAIN}/${ELT_TARGET_SYS}/include"
> + export LDFLAGS="-L${EXTERNAL_TOOLCHAIN}/${ELT_TARGET_SYS}/lib -Wl,-rpath-link,${EXTERNAL_TOOLCHAIN}/${ELT_TARGET_SYS}/lib"
NAK, this assumes external Linaro toolchain. Can you make it more generic? Why
can't you use the sysroots?
--
Denys
next prev parent reply other threads:[~2015-03-04 20:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-04 20:05 [PATCH 1/3] stream: Add Stream benchmark Franklin S. Cooper Jr
2015-03-04 20:05 ` [PATCH 2/3] stream: Add append for TISDK customizations Franklin S. Cooper Jr
2015-03-04 20:20 ` Denys Dmytriyenko [this message]
2015-03-04 20:35 ` Cooper Jr., Franklin
2015-03-04 20:05 ` [PATCH 3/3] packagegroup-arago-tisdk-addons: Add stream benchmark Franklin S. Cooper Jr
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=20150304202026.GK6052@edge \
--to=denys@ti.com \
--cc=fcooper@ti.com \
--cc=meta-arago@arago-project.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.