From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: Re: please make byte compiling during bootstrap take advantage of make -j Date: Sun, 04 May 2008 21:49:22 +0300 Message-ID: References: <200805041735.m44HZbxS018196@sallyv1.ics.uci.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Content-Transfer-Encoding: 7BIT X-Trace: ger.gmane.org 1209926975 22806 80.91.229.12 (4 May 2008 18:49:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 May 2008 18:49:35 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Dan Nicolaescu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 04 20:50:11 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 1JsjHl-0007aW-8f for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 May 2008 20:50:09 +0200 Original-Received: from localhost ([127.0.0.1]:49968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JsjH3-0003Ed-Pf for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 May 2008 14:49:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JsjGz-0003DB-3B for bug-gnu-emacs@gnu.org; Sun, 04 May 2008 14:49:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JsjGw-0003CR-Ha for bug-gnu-emacs@gnu.org; Sun, 04 May 2008 14:49:20 -0400 Original-Received: from [199.232.76.173] (port=60561 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JsjGw-0003CO-C6 for bug-gnu-emacs@gnu.org; Sun, 04 May 2008 14:49:18 -0400 Original-Received: from mtaout1.012.net.il ([84.95.2.1]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JsjGw-0008N1-0I for bug-gnu-emacs@gnu.org; Sun, 04 May 2008 14:49:18 -0400 Original-Received: from HOME-C4E4A596F7 ([84.229.228.217]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K0C0007VYA3TEJ1@i-mtaout1.012.net.il> for bug-gnu-emacs@gnu.org; Sun, 04 May 2008 22:03:39 +0300 (IDT) In-reply-to: <200805041735.m44HZbxS018196@sallyv1.ics.uci.edu> X-012-Sender: halo1@inter.net.il X-detected-kernel: by monty-python.gnu.org: Solaris 9.1 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:17922 Archived-At: > From: Dan Nicolaescu > Date: Sun, 04 May 2008 10:35:36 -0700 > > > Multi-core CPUs are already widespread, and will only become more so. > > Byte compiling all the elisp files is where most of the time is spent > during bootstrap. But currently byte compilation does not take > advantage of "make -j", which would speed it up a great deal. > > Can you please implement this? There's this comment in lisp/Makefile.in: # Files MUST be compiled one by # one. If we compile several files in a row we can't make sure that # the compilation environment is clean. I have only a vague idea of what is this trying to say, but assuming that this consideration is not important for several compilations going on in parallel, doing what you want boils down to making the `compile:' target depend on all the .elc files; the rest will be done automatically by Make.