Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 0/8] Missing deps discovered in per-recipe builds
Date: Sat, 6 Jul 2013 14:29:34 +0200	[thread overview]
Message-ID: <20130706122934.GC3288@jama> (raw)
In-Reply-To: <1458807.Cif2MtSWk2@helios>

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

On Fri, Jul 05, 2013 at 04:28:24PM +0100, Paul Eggleton wrote:
> On Friday 05 July 2013 03:28:21 Martin Jansa wrote:
> > I was using simple script to build each component alone:
> > 
> > #!/bin/bash
> > 
> > rm -rf tmp-eglibc/abi_version tmp-eglibc/buildstats tmp-eglibc/cache
> > tmp-eglibc/deploy tmp-eglibc/log tmp-eglibc/pkgdata pseudodone
> > tmp-eglibc/saved_tmpdir tmp-eglibc/sstate-control tmp-eglibc/stamps
> > tmp-eglibc/sysroots tmp-eglibc/work-shared tmp-eglibc/work/* rm -rf log.*
> > 
> > ls -d buildhistory/packages/*/* | xargs -n 1 basename | sort -u >
> > component.list ncomponents=`cat component.list | wc -l`
> > i=1
> > for component in `cat component.list`; do
> >   echo "Building component: ${component} ($i/$ncomponents)"
> >   bitbake -c cleansstate ${component} | tee log.${component};
> >   bitbake ${component} | tee -a log.${component};
> >   rm -rf tmp-eglibc/abi_version tmp-eglibc/buildstats tmp-eglibc/cache
> > tmp-eglibc/deploy tmp-eglibc/log tmp-eglibc/pkgdata pseudodone
> > tmp-eglibc/saved_tmpdir tmp-eglibc/sstate-control tmp-eglibc/stamps
> > tmp-eglibc/sysroots tmp-eglibc/work-shared tmp-eglibc/work/* i=`expr $i +
> > 1`
> > done
> 
> A cleaned up form of this would be a great addition to the scripts/contrib 
> directory if you have time...

I'm working on improved version of this script which will detect
automagically enabled dependencies. Once I get it working I'll clean it
and send patch with script.

Unfortunately running it takes very long time (even on fast server),
normal "bitbake world" is done in +- 24 hours, but with repopulating
tmp-eglibc so many times (even from sstate-cache) it's almost 48 hours.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

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

  parent reply	other threads:[~2013-07-06 12:29 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-05  1:28 [PATCH 0/8] Missing deps discovered in per-recipe builds Martin Jansa
2013-07-05  1:28 ` [PATCH 1/8] (lib)telepathy*: add missing dependency on libxslt-native Martin Jansa
2013-07-05  1:28 ` [PATCH 2/8] gst-plugins-bad: inherit gsettings Martin Jansa
2013-07-05  1:28 ` [PATCH 3/8] gst-plugins-base: add missing dependency on glib-2.0-native Martin Jansa
2013-07-05  1:28 ` [PATCH 4/8] taglib: add missing dependency on zlib Martin Jansa
2013-07-05  1:28 ` [PATCH 5/8] quota: inherit pkgconfig Martin Jansa
2013-07-05  1:28 ` [PATCH 6/8] libpam: " Martin Jansa
2013-07-05  1:28 ` [PATCH 7/8] systemtap: " Martin Jansa
2013-07-05  1:29 ` [PATCH 8/8] eglibc-locale: add missing dependency on virtual/${TARGET_PREFIX}binutils Martin Jansa
2013-07-05 22:43   ` Martin Jansa
2013-07-06  8:39     ` [PATCHv2 1/2] " Martin Jansa
2013-07-06  8:39       ` [PATCHv2 2/2] subversion: explicitly disable sasl Martin Jansa
2013-07-08 14:06         ` Jonathan Liu
2013-07-08 15:01         ` Martin Jansa
2013-07-06 22:56       ` [PATCHv2 1/2] eglibc-locale: add missing dependency on virtual/${TARGET_PREFIX}binutils Chris Larson
2013-07-06 23:08         ` Martin Jansa
2013-07-06 23:15           ` [RFC][PATCH] SHLIBSSEARCHDIRS Martin Jansa
2013-07-06 23:17             ` Martin Jansa
2013-07-06 23:16           ` [RFC][PATCH] base.bbclass: add binutils to BASEDEPENDS Martin Jansa
2013-07-06 23:20           ` [PATCHv2 1/2] eglibc-locale: add missing dependency on virtual/${TARGET_PREFIX}binutils Chris Larson
2013-07-06 23:32             ` Martin Jansa
2013-07-08  3:30       ` Khem Raj
2013-07-05 11:17 ` [PATCH 0/8] Missing deps discovered in per-recipe builds Burton, Ross
2013-07-05 15:28 ` Paul Eggleton
2013-07-05 15:37   ` Burton, Ross
2013-07-06 12:29   ` Martin Jansa [this message]
2013-07-06 21:24     ` [RFC][PATCH] test-dependencies: add simple script to detect missing or autoenabled dependencies Martin Jansa
2013-07-06 21:39       ` Martin Jansa
2013-07-08 18:00         ` Randy MacLeod
2013-07-08 19:35           ` Martin Jansa
2013-07-10 12:38         ` [PATCHv2] " Martin Jansa
2013-07-10 12:41           ` Martin Jansa
2013-07-10 14:34             ` Burton, Ross
2013-07-10 14:57               ` Martin Jansa
2013-07-10 13:05           ` sstate-cache and making a package "host-dependent" Mike Looijmans
2013-07-10 17:39             ` Paul Eggleton
2013-07-10 17:45               ` Martin Jansa
2013-07-29 13:17                 ` Mike Looijmans
2013-07-11 12:38           ` [PATCHv2] test-dependencies: add simple script to detect missing or autoenabled dependencies Martin Jansa
2013-07-11 13:28             ` Chris Larson
2013-07-11 13:49               ` Martin Jansa
2013-07-11 13:56                 ` Chris Larson

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=20130706122934.GC3288@jama \
    --to=martin.jansa@gmail.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