From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Speeding up the bootstrap build - a quick hack. Date: Tue, 18 Jan 2022 08:46:53 +0800 Message-ID: <87zgnt6fb6.fsf@yahoo.com> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29207"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 18 01:52:31 2022 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 1n9cje-0007Lj-Nm for ged-emacs-devel@m.gmane-mx.org; Tue, 18 Jan 2022 01:52:30 +0100 Original-Received: from localhost ([::1]:52808 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n9cjd-0006A9-7V for ged-emacs-devel@m.gmane-mx.org; Mon, 17 Jan 2022 19:52:29 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43612) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9ceR-0004PI-T6 for emacs-devel@gnu.org; Mon, 17 Jan 2022 19:47:08 -0500 Original-Received: from sonic311-25.consmr.mail.ne1.yahoo.com ([66.163.188.206]:35880) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n9ceP-0008Cp-Vp for emacs-devel@gnu.org; Mon, 17 Jan 2022 19:47:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1642466824; bh=GXyR8RLWB4EQ+XC/yvu3WY9OnfMy4xEUYhoQFzFgB4Q=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=oQo2PzN5JgwdN+K0+mVuXb8BMfzZBBV+ja6FesBaaqVnWsenun5UijWpYOlRppJUKsmbPY4ehIYQR6nHSmN7QCT/ibhuhgx8BSWE3MhB2mnJLg2f3rlYDd1wmRaa4nhqR0YGhoWCLtfnmT3cxNX0I7tAh1FzHmCQ2SwmMMjm3wEqsVOEx09tZpvB5GTwt2pstMxc5R8tBxByN4cXtzHEm25y8GxkvrAJH9hfyX6WyPYPR5nLcdiXBGFGeE531Lqe7HYkxDg8dvMKdrhBvQ8kXIWEt8+7JA2YIq9PENavItM8qLZGeMJQ7CwhGJcY9nHEwE96EScLmU0zfdQenfX02Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1642466824; bh=AvwYitHV45SwXR620PCMAogGdOPZ6w0JpvB+R8esh6Q=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=MrUIrpffeYwdUd7J7UvjOKIFDas1GgvF6rhau2IUoD5Io4I3mDSLltJUaXvX0yvy3RI3zZ9KRY0YdJKf/jkhmDku8oXVS72ZrMdmhokZ8/DLK0qOphySBTJ0tMakimb8fhS/sbuvTOugkdA6OdVMUbIKKeWRKs2uvV7PQXLbk5mEhgapLbPQEeWFAyWMIjEAJnW2sbvmFqgc5k3eB+5Z/bLLp1l05hv5HHKELMbIVs0Br9cfeGERlXG9bhn83OgLVWUs/p7+hxqIK7GqZVA2D7/gjXlQsbLTzsp0kaMfgDMeuqVIh8Z4IoRnf7wkin3rjk1t/ZzZdgY8Th52t6K7jQ== X-YMail-OSG: qq.RjmMVM1nabZYqve8vUEEIgW6ucglT4Nfywz9sBUy13Pa3WIuzqya2yaKhuyW ShxM8tH5Ec.X8FAbCDggEcSLF7xOfPTNOHf9DL0h5OSIpZFJlOM0dw3nrHGzzzW6RktE7hJKrJ1e gVk2M4GnfLT2i8dTdL6BoIJT2aQSN07o4fcvD48bi7kQvIoKPtpqa6qRrlSNXKts4m98Wsl3Gp4_ 0KCCejY6p0hht.7W0uY9jWdIW37Rn0PQOYnJGDqO4Yc6DM2hPU4tv.1CZB0EbSfI2lg0UV7KNmVg fxY4AK_eYxsgzvD.tHhCal50cAVTOO0bKTIAOyTwvQUk8VpjVSLMz1o954SGe3WhE2wx.QwE7hQO nIiS5EkoyzOUe_OBpCpxcKgpEwOiHlHBoK08EHs26ehWeGdioEVKvds3qCmPfPcPvsXzz7Yw5iQn bmeeKWibEa6nGQLM09Bvj179WT5BMoFi_tHN.Gj5nYgEz4aSqb60ZSOpNsflFCrPI5ZztAkSPfnz X.VWkkWQ7xYqBURe9GIuRtuR.mmdLF2mBWrNem6OLnqwP1..RJpZih7LdQkh.SuAJIIPMVMg6jen ZwYBXlNhlmhE_17NOV2dI.K7Wn5R4sZaCilw2Vb7lIpKDSFohr6CGl7ymmw3teXH.pewA4Dh9_KF 3Z10ZSglfWOF1IXRt3ZehxK_WchqeX_I.OGorcRMtfJzdYzYcpA1vwZSDVWggCLSf.goNmi9tpdw QYsVrIMy1HYhTYgcVkddMs8fhhYVv84gOtBNaPR1n7DZm9nO0dnnX0aSRsucdQy7LaRDWXys7ugD 2C1llRaD0N4Z40zQz4BzBJ6iiltqn5frsuruJEsiwQ X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ne1.yahoo.com with HTTP; Tue, 18 Jan 2022 00:47:04 +0000 Original-Received: by kubenode510.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 3b4f3f30f13f72a71f84d298c47da799; Tue, 18 Jan 2022 00:46:57 +0000 (UTC) In-Reply-To: (Alan Mackenzie's message of "Mon, 17 Jan 2022 20:26:08 +0000") X-Mailer: WebService/1.1.19594 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.188.206; envelope-from=luangruo@yahoo.com; helo=sonic311-25.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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" Xref: news.gmane.io gmane.emacs.devel:284914 Archived-At: Alan Mackenzie writes: > The following may go some way to fixing this slowdown. Its idea is to > build the lisp directory first by compiling the byte compiler and then > using this to build the native compiler, rather than building the native > compiler directly from interpreted list. > > With the amended makefile, my build took 6m 7s. Before the amendment, > it was around 7m 16s. This is a saving of around 15%. I see similar numbers here. Great, thanks!