* (Toplevel patch) Let the top level run in parallel.
@ 2003-02-25 21:22 Nathanael Nerode
2003-03-04 5:26 ` Alexandre Oliva
0 siblings, 1 reply; 2+ messages in thread
From: Nathanael Nerode @ 2003-02-25 21:22 UTC (permalink / raw)
To: gcc-patches, gdb-patches, binutils, dj
It should be safe to run the top level in parallel thanks to the
serialization dependencies.
Tested on i686-pc-linux-gnu (on a single-processor machine, I'm afraid) via
'make -j 10 bootstrap' and 'make -j 10 all', just for the hell of it.
Both worked as expected. I really think this is safe.
* Makefile.tpl: Do run the top level in parallel.
* Makefile.in: Regenerate.
--- Makefile.tpl.old 2003-02-25 15:39:04.000000000 -0500
+++ Makefile.tpl 2003-02-25 16:15:16.000000000 -0500
@@ -728,7 +726,7 @@
.PHONY: check do-check
check:
- $(MAKE) do-check NOTPARALLEL=parallel-ok
+ $(MAKE) do-check
# Only include modules actually being configured and built.
do-check: @check_host_modules@ \
@@ -1259,7 +1257,7 @@
.PHONY: check-c++
check-c++:
- $(MAKE) check-target-libstdc++-v3 check-gcc-c++ NOTPARALLEL=parallel-ok
+ $(MAKE) check-target-libstdc++-v3 check-gcc-c++
.PHONY: install-gcc maybe-install-gcc
maybe-install-gcc:
@@ -1453,11 +1451,3 @@
.NOEXPORT:
MAKEOVERRIDES=
-
-# Tell GNU make 3.79 not to run the top level in parallel. This
-# prevents contention for $builddir/$target/config.cache, as well
-# as minimizing scatter in file system caches.
-NOTPARALLEL = .NOTPARALLEL
-$(NOTPARALLEL):
-
-# end of Makefile.in
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: (Toplevel patch) Let the top level run in parallel.
2003-02-25 21:22 (Toplevel patch) Let the top level run in parallel Nathanael Nerode
@ 2003-03-04 5:26 ` Alexandre Oliva
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Oliva @ 2003-03-04 5:26 UTC (permalink / raw)
To: Nathanael Nerode; +Cc: gcc-patches, gdb-patches, binutils, dj
On Feb 25, 2003, Nathanael Nerode <neroden@twcny.rr.com> wrote:
> It should be safe to run the top level in parallel thanks to the
> serialization dependencies.
Unfortunately, it isn't, since sub-directories may re-run their
configure scripts in parallel, potentially corrupting config.cache.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-04 5:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-25 21:22 (Toplevel patch) Let the top level run in parallel Nathanael Nerode
2003-03-04 5:26 ` Alexandre Oliva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox