From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: Re: please make byte compiling during bootstrap take advantage of make -j Date: Wed, 07 May 2008 18:33:41 -0400 Message-ID: References: <200805041735.m44HZbxS018196@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1210199680 17054 80.91.229.12 (7 May 2008 22:34:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 May 2008 22:34:40 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, dann@ics.uci.edu To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 08 00:35:15 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JtsEE-00035W-7X for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 May 2008 00:35:14 +0200 Original-Received: from localhost ([127.0.0.1]:59795 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JtsDW-0000Af-6Q for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 May 2008 18:34:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JtsDR-0000Aa-T4 for bug-gnu-emacs@gnu.org; Wed, 07 May 2008 18:34:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JtsDQ-0000AM-1E for bug-gnu-emacs@gnu.org; Wed, 07 May 2008 18:34:25 -0400 Original-Received: from [199.232.76.173] (port=53566 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JtsDP-0000AJ-Rf for bug-gnu-emacs@gnu.org; Wed, 07 May 2008 18:34:23 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:46715) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JtsDP-0008Uf-H5 for bug-gnu-emacs@gnu.org; Wed, 07 May 2008 18:34:23 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JtsCj-0006D8-6u; Wed, 07 May 2008 18:33:41 -0400 X-Spook: STARLAN Crypto AG MD4 CISU gamma Becker Compsec Lon X-Ran: EepSgA`*uwAU]Aa{>QDP/>*Y~][x=;x'wE]Ig\/qfPc\b!0q^E/)Uhys+%lpZ,wq6s';aA X-Hue: green X-Attribution: GM In-Reply-To: (Eli Zaretskii's message of "Wed, 07 May 2008 12:47:51 +0300") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17933 Archived-At: Eli Zaretskii wrote: > And what's wrong with hard-coding them, exactly? Just that it's inelegant and more work. Even the directory names aren't hard-coded at present. > If you are worried about maintenance, then we could have a > maintainer-only target that would update the list, and that target > could use GNU Make features, like you suggest below. If the names aren't going in a prerequisite, there's no need to use GNU Makeisms. So, I envisage: 1. A rule run at the end of bootstrap that finds all the .elc files and updates Makefile.in (yuck; I'd prefer an include file, but it seems this is not portable either?). 2. The compile targets changed to use the explicit list of .elc files constructed above. 3. The compile targets to run something like their current implementations after the parallelizable part, to catch any new .elc files not yet added to Makefile.in. Perhaps this isn't necessary, since all it means is new files wouldn't get compiled until Makefile.in was updated.