This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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]

(Toplevel patch) Let the top level run in parallel.


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


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