From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Automatic bootstrap Date: Thu, 19 Jun 2008 09:58:36 -0400 Message-ID: References: <48590F58.4020201@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1213883987 31453 80.91.229.12 (19 Jun 2008 13:59:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Jun 2008 13:59:47 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 19 16:00:31 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K9Kfs-00010p-VU for ged-emacs-devel@m.gmane.org; Thu, 19 Jun 2008 15:59:41 +0200 Original-Received: from localhost ([127.0.0.1]:36315 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9Kf4-0007YN-Fe for ged-emacs-devel@m.gmane.org; Thu, 19 Jun 2008 09:58:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K9Kf0-0007X2-RQ for emacs-devel@gnu.org; Thu, 19 Jun 2008 09:58:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K9Kez-0007V5-8E for emacs-devel@gnu.org; Thu, 19 Jun 2008 09:58:45 -0400 Original-Received: from [199.232.76.173] (port=48104 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9Kez-0007Uj-3N for emacs-devel@gnu.org; Thu, 19 Jun 2008 09:58:45 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:30290) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K9Ker-0000bC-FD; Thu, 19 Jun 2008 09:58:37 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ar4EAEADWkjO+KWv/2dsb2JhbACBW65V X-IronPort-AV: E=Sophos;i="4.27,672,1204520400"; d="scan'208";a="22958081" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 19 Jun 2008 09:58:36 -0400 Original-Received: from pastel.home ([206.248.165.175]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id ZTZ93736; Thu, 19 Jun 2008 09:58:36 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 5C211848A; Thu, 19 Jun 2008 09:58:36 -0400 (EDT) In-Reply-To: <48590F58.4020201@gnu.org> (Jason Rumney's message of "Wed, 18 Jun 2008 14:36:24 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:99466 Archived-At: >> A week or so there was a discussion about the inconvenience of the >> existence of `make bootstrap'. I suggested that we create a source >> file bootstrap.el whose compiled file, bootstrap.elc, would control >> whether `make emacs' does a bootstrap or not. We could also change >> bootstrap.el trivially after installing any change which we think >> makes it advisable for testers to bootstrap afresh. > I don't think it will work, as developers who make changes that make it > advisable to bootstrap would forget to change that file. Other developers > might change it needlessly, causing testers with low end hardware > unnecessary pain. I tend to agree. BTW, I'm playing around right now with a slightly different dependency structure to make "make" do the bootstrap automatically, so that "make bootstrap" is turned into "make bootstrap-clean; ./config.status; make". Basically, we always build both `emacs' and `bootstrap-emacs', where `bootstrap-emacs' is the executable used to compile the preloaded files. The code I have now kinda works, but it has some downsides. Also, it's tremendously difficult to make this work efficiently in the sequential case (avoid redundant dumps and byte-compilations) and in the parallel case as well (e.g. avoid building `bootstrap-emacs' multiple times in parallel). Stefan