public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: openembedded-core <openembedded-core@lists.openembedded.org>
Subject: Re: My thoughts on the future of OE?
Date: Fri, 2 May 2014 22:11:55 +0200	[thread overview]
Message-ID: <20140502201155.GX2486@jama> (raw)
In-Reply-To: <1398963761.12731.1.camel@ted>

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

On Thu, May 01, 2014 at 06:02:41PM +0100, Richard Purdie wrote:
> I was asked what I thought were things that needed discussion at OEDAM.
> Sadly I won't be there but I thought it might help to write down my
> thoughts in a few areas.
> 
> Developer Workflow
> ------------------
> 
> Firstly, I think the big piece we need to address as a project is
> "developer workflow" as this is where people are struggling using it.
> 
> Unfortunately "developer workflow" means different things to different
> people? Which one do I mean then? I actually mean all of them. As some
> examples:
> 
> -----------------------------------------------------------------------
> 
> * A kernel developer wanting to rebuild a kernel 
>   [on/off target, with the ADT/SDK or a recipe]
> * A kernel developer wanting to build a kernel module
>   [on/off target, with the ADT/SDK or a recipe]
> * An application developer wanting to build a single App
>   [on/off target, with the ADT/SDK or a recipe]
> * An application developer wanting to (re)build a library, linking an 
>   App to it
>   [on/off target, with the ADT/SDK or a recipe]
> * A user wanting to rebuild an image with a package added
>   [on and off target - feeds or a build]
> * A user wanting to rebuild an image with more advanced changes

One more workflow I see quite often and really isn't supported well is:

* An application developer wanting to (re)build just one library and one
  test application, verify on target, iterate as long sa needed and then
  do "clean" build which will rebuild everything depending on it (not
  just the test app)

Real world example is newer eglibc breaking audio from qtmultimedia, so
the test app is depending on all qt* crap which takes forever to build
and every developer change to eglibc will basically trigger rebuild of
everything.

We need an easy way to do such "simplified" builds where you don't care
much about reproducibility. Currently most developers I know will do
devshell/source run.do_foo  for eglibc and the test-app + rsync/scp of these 2 changed
binaries to your target device to verify if the fix works.

The bitbake -S improvements help to find "why" the build rebuilt so many
components, but doesn't help with preventing it (see 
https://bugzilla.yoctoproject.org/show_bug.cgi?id=5970


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

  parent reply	other threads:[~2014-05-02 20:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-01 17:02 My thoughts on the future of OE? Richard Purdie
2014-05-01 17:44 ` Stewart, David C
2014-05-02 13:00 ` Mike Looijmans
2014-05-02 13:47   ` Burton, Ross
2014-05-02 14:10     ` Mike Looijmans
2014-05-02 16:05       ` Philip Balister
2014-05-02 14:23     ` Jack Mitchell
2014-05-02 19:16 ` Koen Kooi
2014-05-02 19:59   ` Richard Purdie
2014-05-02 20:11 ` Martin Jansa [this message]
2014-05-05 11:39 ` David Nyström
2014-05-15  9:58   ` Barros Pena, Belen

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=20140502201155.GX2486@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.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