This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Large parallel glibc builds.
- From: Steve Ellcey <sellcey at imgtec dot com>
- To: Carlos O'Donell <carlos at redhat dot com>
- Cc: Florian Weimer <fweimer at redhat dot com>, GNU C Library <libc-alpha at sourceware dot org>, Konstantin Serebryany <kcc at google dot com>, "Joseph S. Myers" <joseph at codesourcery dot com>
- Date: Tue, 22 Dec 2015 13:29:39 -0800
- Subject: Re: Large parallel glibc builds.
- Authentication-results: sourceware.org; auth=none
- References: <5679A3BE dot 2060303 at redhat dot com> <1450813206 dot 4194 dot 48 dot camel at ubuntu-sellcey> <5679ADC7 dot 1020508 at redhat dot com> <5679AFDC dot 2060804 at redhat dot com> <5679B0BB dot 8010606 at redhat dot com>
- Reply-to: <sellcey at imgtec dot com>
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