On Friday 08 August 2008 09:30:02 Hinko Kocevar wrote:
> RB wrote:
> >> You can run make with the parameter "-j2" or "-j4" and it will run this
> >> amount of processes in parallel, but with openwrt it's not possible (always
> >> says: jobserver unavailable, add '+' to parent make rule)...
> >> Is there a simple way to change this so I can make use of all my cores?
> > 
> > If you actually paid attention to the build process and were actually
> > familiar with the '-jX' argument, you'd know that some builds (or
> > portions therein) break when done in parallel, so they force the
> > jobserver down to '1' to avoid the problem.  You'd also know to watch
> > your system utilization later in the build and see all your pretty
> > little cores working away on some other portion of the build that is
> > happily parallelizable.
> > 
> 
> Strange.. I don't see kernel compiling in parallel. In fact it only happens 
> if I add
> -j4 manually to include/kernel-defaults.mk:

Exactly. Parallel compilation simply does not work in real life with
buildroot. Just try it, guys. 90% of the time all CPUs, except one,
are idle.

I would really like to see this fixed, too, as it makes a _big_ difference
to compile something on one or four CPUs.

-- 
Greetings Michael.
_______________________________________________
openwrt-users mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to