Large parallel glibc builds.

Steve Ellcey sellcey@imgtec.com
Tue Dec 22 21:29:00 GMT 2015


On Tue, 2015-12-22 at 15:21 -0500, Carlos O'Donell wrote:
> On 12/22/2015 03:17 PM, Florian Weimer wrote:
> > On 12/22/2015 09:08 PM, Carlos O'Donell wrote:
> >> I believe PARALLELMFLAGS is still required, I use it in my scripts.
> >> I haven't seen anyone fix this or make it more "just works."
> > 
> > It's supposed to be obsolete since 2001, when it was removed from the
> > glibc manual.
> 
> That's certainly wrong. It's still used in the top-level Makefile to
> parallelize the $(all-subdir-targets) and others.
> 
> Cheers,
> Carlos.

My recollection from a couple of years ago was that when I ran 'make
-j20 all' but did not set PARALLELMFLAGS, I did not get any
parallelization in the build (even inside a subdir) and I needed to set
PARALLELMFLAGS to get any parallelization at all.  I just tried it now
and even without setting PARALLELMFLAGS I did get parallel builds inside
each subdir.  I am not sure if the top level Makefile did any
parallelization, but once it called make in a subdir I was getting
parallel compiles.

Steve Ellcey
sellcey@imgtec.com



More information about the Libc-alpha mailing list