From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuchen Pei Newsgroups: gmane.emacs.devel Subject: Re: How to incrementally build when checking out a nearby commit Date: Sun, 26 Nov 2023 00:02:55 +1100 Message-ID: <87zfz2f0jk.fsf@ypei.org> References: <87v89q74nu.fsf@ypei.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39474"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Emacs Devel mailing list To: Daniel =?utf-8?Q?Mart=C3=ADn?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 25 14:03:37 2023 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 1r6sJr-000A5m-K9 for ged-emacs-devel@m.gmane-mx.org; Sat, 25 Nov 2023 14:03:36 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r6sJP-0004QF-Fo; Sat, 25 Nov 2023 08:03:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r6sJO-0004Q4-L5 for emacs-devel@gnu.org; Sat, 25 Nov 2023 08:03:06 -0500 Original-Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r6sJM-0004ke-Rk for emacs-devel@gnu.org; Sat, 25 Nov 2023 08:03:06 -0500 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id DA8383200312; Sat, 25 Nov 2023 08:03:02 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sat, 25 Nov 2023 08:03:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ypei.org; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1700917382; x=1701003782; bh=yy4rJbD2KEBk5BhDUi2l6RpVgSfWxOmBena ctbOqPOU=; b=usLDfK2naNGtKds8efjFiDowgUZ5nxSiorlCBWxi12XNLb4+1ul hLhgXEeqAFg1kYEsz7p6Kl+IlZi2tczGZXAPhGtrjchMHiVu7DA5pGaGaCh4aet2 ZFxwpJCp2sM0rFftfnC5nlSrUdB4OimVJ/J/9QDCQAD63l+3NQvnErG8ziRFLnVM FTWHJFUBvzJpc0YXt/gVe2vD2/dOrEKcMDowUi3VwIaJZJjfmkY4MmU/NmQEkQ+Z ewtogTgEVIfdJc2v/c8BJdASu9/g+Bk29ybl/ONyHtBbm+gCTqAfjEcbpcPGK/0b nf6vAKKZ9OVHGet6rmYxacAOqdXNn8+tH/A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1700917382; x=1701003782; bh=yy4rJbD2KEBk5BhDUi2l6RpVgSfWxOmBena ctbOqPOU=; b=I2TCed8P6ZIfRh8vFklEBQ0mu5WrCt5b7WC9nR6EYI/+hfSDtkE rEA4lrexxhg9K1JxUS1KtmNYw0joMtw1dQ1wLhkUWWrY5y/ERjl5kkaAooPvxRMI jHVXBpO3tzfias/89A81MsnJRY9OVWd+c0VBFKDgUDEX/g75AAak5X6fR2HLXGxb z0/DB2bf/W0Ynp+pArl4vVgZMIRK8vMcffeZmjv44iKkbG9CKKd+z87LWlfKdkDT yBptYxsVmktPf4wuutXQP9aei9LL8DYU07UhgIa9mUT9C+PyUBy3a5ZvMZaihmk4 r17LU4q0J7u3Hnpo6r/2myYmbmK3QQp4xYQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudehjedggeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefujghffffkfgggtgfgsehtqhertddtreejnecuhfhrohhmpegjuhgt hhgvnhcurfgvihcuoehiugeshihpvghirdhorhhgqeenucggtffrrghtthgvrhhnpeekud ejgfekleevffduteejfeffuedvgeevleegudekheefffffvdetieeludehieenucffohhm rghinhephihpvghirdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepihguseihphgvihdrohhrgh X-ME-Proxy: Feedback-ID: i51b146f9:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 25 Nov 2023 08:03:00 -0500 (EST) In-Reply-To: ("Daniel =?utf-8?Q?Mart=C3=ADn=22's?= message of "Sat, 25 Nov 2023 11:42:17 +0100") Received-SPF: pass client-ip=64.147.123.21; envelope-from=id@ypei.org; helo=wout5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:313211 Archived-At: On Sat 2023-11-25 11:42:17 +0100, Daniel Mart=C3=ADn wrote: > Yuchen Pei writes: >> Hello, >> If I have built emacs, and now check out a commit that is not very >> different from the current one, say a parent or child commit, how do I >> rebuild in a way that takes as little time as possible? > That should happen if you just invoke make, as described in the INSTALL > file in the Emacs source directory. Strange that after your reply, I tested a couple commits and it did work this way, but I clearly remember it took way longer when I did it last time. I will keep receipts next time :) Thanks. Best, Yuchen -- Dr Yuchen Pei | https://ypei.org | Timezone: UTC+11 PGP Key: 47F9 D050 1E11 8879 9040 4941 2126 7E93 EF86 DFD0 https://ypei.org/assets/ypei-pubkey.txt