Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - make and parallel builds: (4 Items)
   
make and parallel builds  
Hi,
Looks like make 3.81 isn't parallel build safe
-----------------
make[5]: Entering directory `/home/pmallappa/work/bsp_dev/ct11eb/src/hardware/startup/boards/ct11eb'
make[5]: warning: -jN forced in submake: disabling jobserver mode.
make -j 4 -Carm -fMakefile install
------------------------
Thinking that parallel make reduces time for compilation I invoke make with JFLAGS=4 MAKEFLAGS+=-j4 

Am I doing something wrong?, what is the best way to achieve parallel compilation using QNX build system?

Cheers,
/Prem
Re: make and parallel builds  
found this bug as well ...
http://bugs.gentoo.org/193258

Re: make and parallel builds  
make JLEVEL=4 will do it

Premachandra Mallappa wrote:
> Hi,
> Looks like make 3.81 isn't parallel build safe
> -----------------
> make[5]: Entering directory `/home/pmallappa/work/bsp_dev/ct11eb/src/hardware/startup/boards/ct11eb'
> make[5]: warning: -jN forced in submake: disabling jobserver mode.
> make -j 4 -Carm -fMakefile install
> ------------------------
> Thinking that parallel make reduces time for compilation I invoke make with JFLAGS=4 MAKEFLAGS+=-j4 
> 
> Am I doing something wrong?, what is the best way to achieve parallel compilation using QNX build system?
> 
> Cheers,
> /Prem
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post38535
> 

-- 
cburgess@qnx.com
Re: make and parallel builds  
On Wed, Sep 23, 2009 at 08:45:35AM -0400, Premachandra Mallappa wrote:
> Hi,
> Looks like make 3.81 isn't parallel build safe
> -----------------
> make[5]: Entering directory `/home/pmallappa/work/bsp_dev/ct11eb/src/hardware/startup/boards/ct11eb'
> make[5]: warning: -jN forced in submake: disabling jobserver mode.
> make -j 4 -Carm -fMakefile install
> ------------------------
> Thinking that parallel make reduces time for compilation I invoke make with JFLAGS=4 MAKEFLAGS+=-j4 
> 
> Am I doing something wrong?, what is the best way to achieve parallel compilation using QNX build system?

# make JLEVEL=4

AFAIK our build group does this.

-seanb