Openembedded Core Discussions
 help / color / mirror / Atom feed
* GCC PARALLEL_MAKE changed
@ 2013-08-08  7:55 Vali Cobelea
  2013-08-08 20:06 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Vali Cobelea @ 2013-08-08  7:55 UTC (permalink / raw)
  To: openembedded-core

Hi,

We noticed that the GCC parallel make flag (PARALLEL_MAKE, located in 
"meta/recipes-devtools/gcc/gcc-cross-canadian_4.?.bb") got changed from 
"-j 32" to simply nothing.
We are wondering what was the reason for this change, which seems to 
have been made somewhere before the fall of 2012, while the GCC was 
around version 4.6 or earlier (for each we dont have the repository to 
track down the change).

After several builds where the compile time for GCC got measured, I can 
say that this flag indeed reduces the build time, when it is put at "-j 
32" (using a proper build machine).
In average the build time frame was reduced by 18%.

Much appreciated any thoughts on this, I know that it has been a while 
since this change happen.

Thank you very much,
Vali


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: GCC PARALLEL_MAKE changed
  2013-08-08  7:55 GCC PARALLEL_MAKE changed Vali Cobelea
@ 2013-08-08 20:06 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2013-08-08 20:06 UTC (permalink / raw)
  To: Vali Cobelea; +Cc: openembedded-core

Vali

On Aug 8, 2013, at 12:55 AM, Vali Cobelea <valentin.cobelea@enea.com> wrote:

> Hi,
> 
> We noticed that the GCC parallel make flag (PARALLEL_MAKE, located in "meta/recipes-devtools/gcc/gcc-cross-canadian_4.?.bb") got changed from "-j 32" to simply nothing.
> We are wondering what was the reason for this change, which seems to have been made somewhere before the fall of 2012, while the GCC was around version 4.6 or earlier (for each we dont have the repository to track down the change).
> 
> After several builds where the compile time for GCC got measured, I can say that this flag indeed reduces the build time, when it is put at "-j 32" (using a proper build machine).
> In average the build time frame was reduced by 18%.
> 
> Much appreciated any thoughts on this, I know that it has been a while since this change happen.
> 


There were race conditions happening with the build. I have not verified if they have been fixed. However you could try
remove 

PARALLEL_MAKE = ""

from recipe and then it should respect the global -j value and see if this builds consistently. If it does
propose a patch to remove it

> Thank you very much,
> Vali
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-08 20:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-08  7:55 GCC PARALLEL_MAKE changed Vali Cobelea
2013-08-08 20:06 ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox