From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: extraclean and admin/grammars [was Re: Git master head build failure?] Date: Sun, 04 Apr 2021 10:20:39 +0300 Message-ID: <83ft06ecs8.fsf@gnu.org> References: <875z16en2o.fsf@gmail.com> <83mtuih3en.fsf@gnu.org> <835z16gnkj.fsf@gnu.org> <83y2e2f22w.fsf@gnu.org> <87zgyikmui.fsf@gnus.org> <83v995g8lo.fsf@gnu.org> <87r1jsls85.fsf@gnus.org> <83a6qgg56n.fsf@gnu.org> <87h7knlcl6.fsf@gnus.org> <83o8eve9oy.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8291"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rgm@gnu.org, larsi@gnus.org, theophilusx@gmail.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: chad Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 04 09:21:46 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lSx4s-00023M-6E for ged-emacs-devel@m.gmane-mx.org; Sun, 04 Apr 2021 09:21:46 +0200 Original-Received: from localhost ([::1]:53186 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lSx4r-0005qJ-4v for ged-emacs-devel@m.gmane-mx.org; Sun, 04 Apr 2021 03:21:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSx44-0005HN-Ig for emacs-devel@gnu.org; Sun, 04 Apr 2021 03:20:58 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37102) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lSx43-0007f7-Qp; Sun, 04 Apr 2021 03:20:55 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2438 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lSx3v-0001n5-5N; Sun, 04 Apr 2021 03:20:47 -0400 In-Reply-To: (message from chad on Sat, 3 Apr 2021 15:36:51 -0700) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:267381 Archived-At: > From: chad > Date: Sat, 3 Apr 2021 15:36:51 -0700 > Cc: Lars Ingebrigtsen , rgm@gnu.org, Tim Cross , > Stefan Monnier , EMACS development team > > # make bootstrap > # Removes all the compiled files to force a new bootstrap from a > # clean slate, and then build in the normal way. > > ..it makes me think something much closer to what I think Lars was saying "make bootstrap" should do than > "only use this if you don't have src/{t,}emacs", which is roughly how I interpret (perhaps wrongly) what Eli is > suggesting "make boostrap" is for. It also surprises me that emacs' build system needs clean, mostlyclean, > distclean, maintainer-clean, extraclean, and bootstrap, but that overhead seems very low, mostly confusion > around which to use. I guess you've missed the "all the compiled files" part? > Probably, I'm biased by my own use-case, which is roughly: I periodically (multiple times a week) pull and > bootstrap emacs using a custom build script, so I can test the latest and greatest of emacs-devel. When I do > work on specific changes myself, I use "make all" nearly all the time (I have memories of needing to > bootstrap now and then, but I can't recall the circumstances). That said, I'm using a moderately performant > machine, (currently 3 years old, before that up to 8 years old) and typically run -j6. I think your workflow is based on old Makefiles, where "make bootstrap" was needed much more frequently than nowadays. When we switched to requiring GNU Make, many changes were made in the configury stuff that make bootstrap needed much less frequently. From now on, I suggest that you just say "make -j6", it should "just work".