Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 163149

Summary: KDE eclass denies parallel make
Product: Gentoo Linux Reporter: Walt H <walt_h>
Component: EclassesAssignee: Gentoo KDE team <kde>
Status: RESOLVED INVALID    
Severity: enhancement CC: m.debruijne
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/kde.eclass?r1=1.167&r2=1.168
Whiteboard:
Package list:
Runtime testing required: ---

Description Walt H 2007-01-22 00:54:21 UTC
Just an enhancement request...  Maybe there's a reason for this, but since rev. 1.168 of the kde.eclass, parallel makes are no longer allowed?  With dual core CPU's more common, parallel makes can speed up the compile, particularly the kde-meta modular builds.

Reproducible: Always
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-01-22 07:36:12 UTC
Err, care to look up the changes properly before filing a bug next time, please.

The only emake -j1 in that eclass is for calling Makefile.cvs that _cannot_ be ran in parallel.

The main make process is ran without -j1 and works great in parallel.
Comment 2 Walt H 2007-01-26 00:39:08 UTC
It appears you are correct :)  I was building for a new arch in a chroot and it seemed to be taking longer than normal.  I notice that at many times throughout the build, it was only utilizing one core, but maybe that's due to the kdeenablefinal flag?  Anyway, sorry for the false alarm.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-01-26 00:49:51 UTC
Yes, kdeenablefinal will kill the idea of parallel make, as only one file is compiled per directory.