[meta-ti] [morty/rocko/master][PATCH] ti-pdk: Weakly assign PARALLEL_XDC

Joshua Watt jpewhacker at gmail.com
Mon Apr 2 14:00:24 PDT 2018


On Mon, 2018-04-02 at 16:20 -0400, Denys Dmytriyenko wrote:
> On Mon, Apr 02, 2018 at 02:47:28PM -0500, Joshua Watt wrote:
> > Allowing it to be overridden in local.conf
> 
> Why?

For some reason, when some ti-pdk recipes are built on my machine, the
number of threads explodes exponentially.... It ends up launching
several hundreds to thousands of threads which consequently make my
computer unresponsive for quite a while, and I usually have to reboot
it afterwards because something important stopped working.

I think for some reason the --jobs= flag is getting compounded
recursively.

Admittedly, there appears to be some deeper bug with the job
parallelism that needs to be looked into, but this at least allows me
to continue working (by setting PARALLEL_XDC = "" in local.conf) in the
meantime.

I'm on the latest HEAD of morty BTW.

> 
> 
> > Signed-off-by: Joshua Watt <JPEWhacker at gmail.com>
> > ---
> >  classes/ti-pdk.bbclass | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/classes/ti-pdk.bbclass b/classes/ti-pdk.bbclass
> > index 540a665c..0b0c9ffe 100644
> > --- a/classes/ti-pdk.bbclass
> > +++ b/classes/ti-pdk.bbclass
> > @@ -63,7 +63,7 @@ TI_PDK_DOXYGEN_SUPPORT ?= "1"
> >  
> >  TI_PDK_XDC_ARGS ?= "${TI_PDK_LIMIT_SOCS}"
> >  
> > -PARALLEL_XDC = "--jobs=${BB_NUMBER_THREADS}"
> > +PARALLEL_XDC ?= "--jobs=${BB_NUMBER_THREADS}"
> >  PARALLEL_MAKE = ""
> >  
> >  def get_doxygen_support(d):
> > -- 
> > 2.14.3
> > 
> > -- 
> > _______________________________________________
> > meta-ti mailing list
> > meta-ti at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-ti


More information about the meta-ti mailing list