From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Chris Morgan <chmorgan@gmail.com>
Cc: bitbake-devel@lists.openembedded.org
Subject: Re: Bitbake for native x86 project?
Date: Mon, 14 Oct 2013 15:40:37 +0100 [thread overview]
Message-ID: <1381761637.29912.326.camel@ted> (raw)
In-Reply-To: <CAAPegz12Mnrbipi0w4zMdcje1R4SUwhMiUKsOAOfKHpzukea2Q@mail.gmail.com>
On Mon, 2013-10-14 at 09:28 -0400, Chris Morgan wrote:
> Ahh interesting. I was thinking that this kind of a short-circuit
> approach might make sense. Its good to hear that the concept isn't so
> crazy although I've literally found no information about anyone doing
> anything of the sort on the web.
I just sent out my notes/patch attempt at just short circuiting in gcc.
Its a bit messy and I found some issues I didn't expect. It would be
possible to do it with both gcc/libc I'd guess but its not something I'm
going to have any more time to try any time soon...
> I considered using the full blown x86/x86-64 targets but our build
> time right now using cmake and native tools is ~30 seconds with only a
> handful of MB of data to download.
>
> Would using a sstate cache + a custom image target be able to get down
> to that kind of time? Today each developer is building on their
> desktop and from my own testing with angstrom it looks like the builds
> take nearly an hour and generate 30+GB of data. This is almost
> entirely why I've been hesitant to try to use the built-in x86/x86-64
> support. I love the idea of ensuring that everything matches exactly
> on each developer machine but the overhead is pretty crazy.
You can build a complete rootfs from sstate in about 4 minutes so I'd
suggest trying it and see. If you've just building a cmake app, it will
need to download and install a toolchain but it will just do that once
for any given build directory and I suspect you could make it work.
Cheers,
Richard
next prev parent reply other threads:[~2013-10-14 14:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-11 13:22 Bitbake for native x86 project? Chris Morgan
2013-10-13 16:03 ` Trevor Woerner
2013-10-15 12:17 ` Chris Morgan
2013-11-07 18:57 ` Darren Hart
2013-10-13 16:53 ` Richard Purdie
2013-10-14 13:28 ` Chris Morgan
2013-10-14 14:40 ` Richard Purdie [this message]
2013-10-14 15:02 ` Chris Morgan
2013-10-14 15:22 ` Trevor Woerner
2013-10-14 15:30 ` Richard Purdie
2013-10-14 14:33 ` Richard Purdie
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=1381761637.29912.326.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=bitbake-devel@lists.openembedded.org \
--cc=chmorgan@gmail.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 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.