This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Parallel builds of glibc / PARALLELMFLAGS
- From: "Steve Ellcey " <sellcey at mips dot com>
- To: <libc-help at sourceware dot org>
- Date: Wed, 24 Sep 2014 09:18:44 -0700
- Subject: Parallel builds of glibc / PARALLELMFLAGS
- Authentication-results: sourceware.org; auth=none
I have a question about parallel builds of glibc. Someone asked me about
PARALLELMFLAGS and I was trying to understand what the current situation
is. It looks like you need to set this to something like "-j 4" to do
parallel builds but in manual/install.texi there is this statement that
seems to contradict that idea:
| If you want to run a parallel make, simply pass the @samp{-j} option
| with an appropriate numeric parameter to @code{make}. You need a recent
| GNU @code{make} version, though.
So, is using PARALLELMFLAGS the 'correct' way to do parallel builds (in which
case I will submit a patch to update install.texi) or should -j flags be
getting automatically passed down to sub-makes, in which case I think there is
a bug in the makefiles that is preventing this and we should figure out
how to fix it.
Steve Ellcey
sellcey@mips.com