[OE-core] [PATCH 0/8] Missing deps discovered in per-recipe builds

Martin Jansa martin.jansa at gmail.com
Sat Jul 6 12:29:34 UTC 2013


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 at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130706/d1506044/attachment-0002.sig>


More information about the Openembedded-core mailing list