From: Joshua Watt <jpewhacker@gmail.com>
To: Martin Kelly <mkelly@xevo.com>,
Alexander Kanavin <alexander.kanavin@linux.intel.com>,
Jussi Pakkanen <jpakkane@gmail.com>
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>,
Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: Issues with meson in SDK with cross-file
Date: Tue, 06 Feb 2018 20:28:32 -0600 [thread overview]
Message-ID: <1517970512.7888.8.camel@gmail.com> (raw)
In-Reply-To: <36bec7a1-e968-ca73-0dcb-444ebc6da496@xevo.com>
On Tue, 2018-02-06 at 15:39 -0800, Martin Kelly wrote:
> (ping)
>
> Paul, what do you about the options we have here for making meson
> work
> properly in the SDK?
>
> To recap, here are the available options. I'm wondering if you could
> give your opinion on the best fit for how OE SDKs work:
>
> - Generate meson.cross toolchain file at SDK extraction time.
> - Wrap meson with a shell script that dynamically generates a
> toolchain
FWIW, I *just* pushed up a patch to add support for this to so that I
could have Icecream distributed compiling support in the SDK. I called
them post-relocation scripts, see http://lists.openembedded.org/piperma
il/openembedded-core/2018-February/147282.html
This patch show how you install a post-relocation script from a recipe:
http://lists.openembedded.org/pipermail/openembedded-core/2018-February
/147283.html (look at icecc-setup.sh). It's pretty easy and modeled
after the environment setup scripts. The issue that meson is having
sounds similar to what I encountered with Icecream: something needed in
the SDK can only really be generated by host system when the SDK is
installed. There isn't enough information or the ability to generate it
beforehand when the SDK is constructed by Yocto.
Granted, this patch has not yet gone through the rigors of code review
so it will likely change, but I think that it is safe to say that such
a feature would be useful for more that just meson.
> file and then runs meson pointing to it.
> - Change meson to support pulling in env vars in meson.cross, and use
> a
> fixed meson.cross file that references the env vars.
>
> On 01/17/2018 09:47 AM, Martin Kelly wrote:
> > Paul, any opinion?
> >
> > On 01/12/2018 04:35 AM, Alexander Kanavin wrote:
> > > On 01/11/2018 09:22 PM, Martin Kelly wrote:
> > > > Khem and Alexander, could you comment on which solution is
> > > > preferable
> > > > from an SDK standpoint? Otherwise, could you nominate someone
> > > > else to
> > > > do so in your place? :)
> > >
> > > I'm not sure who is the resident SDK expert, perhaps Paul
> > > Eggleton?
> > >
> > > Alex
next prev parent reply other threads:[~2018-02-07 2:28 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-08 23:51 Issues with meson in SDK with cross-file Martin Kelly
2018-01-09 9:05 ` Issues with meson in cross-compiling environment Alexander Kanavin
[not found] ` <CADqQcK7e7r_bdqqdg3yWC74jxC1rGEO48aGx3xFP2asu0FSJdg@mail.gmail.com>
2018-01-10 12:37 ` Alexander Kanavin
2018-01-09 9:57 ` Issues with meson in SDK with cross-file Nirbheek Chauhan
[not found] ` <CADqQcK4-=Q3mvKJfhjHbJEUYeTiGq3c7dCAR3E=w+ktr+_7RyA@mail.gmail.com>
2018-01-09 10:06 ` Nirbheek Chauhan
2018-01-09 18:17 ` Martin Kelly
2018-01-09 18:20 ` Martin Kelly
[not found] ` <CAAjYPQ=u2U3f6DrL1KP-RkftD8P3nbASf1YUeeL0PFP6vY=hzQ@mail.gmail.com>
2018-01-09 20:33 ` Martin Kelly
2018-01-11 19:22 ` Martin Kelly
2018-01-11 19:26 ` Khem Raj
2018-01-11 19:33 ` Martin Kelly
2018-01-11 19:53 ` Martin Kelly
2018-01-12 12:35 ` Alexander Kanavin
2018-01-17 17:47 ` Martin Kelly
2018-02-06 23:39 ` Martin Kelly
2018-02-07 2:28 ` Joshua Watt [this message]
2018-02-07 17:14 ` Martin Kelly
2018-01-10 12:34 ` Alexander Kanavin
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=1517970512.7888.8.camel@gmail.com \
--to=jpewhacker@gmail.com \
--cc=alexander.kanavin@linux.intel.com \
--cc=jpakkane@gmail.com \
--cc=mkelly@xevo.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=paul.eggleton@linux.intel.com \
/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