This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix Ada makefile problem with parallel make


Joseph S. Myers wrote:

> You don't say how you've tested for any remaining parallel make problems
> (or whether you've included make gnatlib_and_tools in your parallel make
> testing), e.g. several bootstraps with -j8, but if parallel building with
> Ada now works reliably then you should remove the statement in
> install.texi that you can't build in parallel when building Ada.

make gnatlib_and_tools still cannot be invoked in parallel (at least this
fix doesn't change any of the existing problems).  This patch also does
not change whatever issues were the reason for adding .NOTPARALLEL to
ada/Makefile.in (and obviously leaves the .NOTPARALLEL there).

What this patch does is simply to allow running the main 'make bootstrap'
in parallel when Ada is enabled (this used to work up until the recent
big Ada merge -- the patch simply brings things back to how they were).

What I've tested is 'make -j6 bootstrap' with all languages (except treelang)
enabled on my 6-way s390 and s390x machines; this used to fail nearly every 
time without the patch, and hasn't failed once with the patch (I've probably 
bootstrapped about 4 or 5 times on each machine since).

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  weigand@informatik.uni-erlangen.de


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]