From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6692 invoked by alias); 25 Feb 2003 21:22:33 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 6631 invoked from network); 25 Feb 2003 21:22:33 -0000 Received: from unknown (HELO ms-smtp-02.nyroc.rr.com) (24.92.226.49) by 172.16.49.205 with SMTP; 25 Feb 2003 21:22:33 -0000 Received: from doctormoo (syr-24-24-17-145.twcny.rr.com [24.24.17.145]) by ms-smtp-02.nyroc.rr.com (8.12.5/8.12.2) with ESMTP id h1PLMVxF020231; Tue, 25 Feb 2003 16:22:31 -0500 (EST) Received: from neroden by doctormoo with local (Exim 3.36 #1 (Debian)) id 18nmWp-0007es-00; Tue, 25 Feb 2003 16:22:19 -0500 Date: Tue, 25 Feb 2003 21:22:00 -0000 To: gcc-patches@gcc.gnu.org, gdb-patches@sources.redhat.com, binutils@sources.redhat.com, dj@redhat.com Subject: (Toplevel patch) Let the top level run in parallel. Message-ID: <20030225212219.GA28350@doctormoo> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i From: Nathanael Nerode X-SW-Source: 2003-02/txt/msg00663.txt.bz2 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