From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Newsgroups: gmane.lisp.guile.bugs Subject: bug#69314: [PATCH] Speed up stage0 bootstrap build using prebuilts Date: Mon, 06 May 2024 11:34:33 +0200 Message-ID: <878r0nmggm.fsf__32631.2310922489$1714988165$gmane$org@gnu.org> References: <3d661a13764a90cfadc6772271da87d02e1cd833.camel@hahnjo.de> <41b70293a61ce187c698097462c16cac5d2ac40f.camel@hahnjo.de> 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="35730"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 69314@debbugs.gnu.org, guile-devel@gnu.org To: Jonas Hahnfeld Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Mon May 06 11:35:57 2024 Return-path: Envelope-to: guile-bugs@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 1s3ulI-00092z-JI for guile-bugs@m.gmane-mx.org; Mon, 06 May 2024 11:35:56 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3ulA-00013T-3E; Mon, 06 May 2024 05:35:48 -0400 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 1s3ul0-0000xZ-2L for bug-guile@gnu.org; Mon, 06 May 2024 05:35:39 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s3ukz-0007dX-QM for bug-guile@gnu.org; Mon, 06 May 2024 05:35:37 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s3ulN-0007Fr-Sr for bug-guile@gnu.org; Mon, 06 May 2024 05:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Mon, 06 May 2024 09:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69314 X-GNU-PR-Package: guile X-GNU-PR-Keywords: patch Original-Received: via spool by 69314-submit@debbugs.gnu.org id=B69314.171498810927870 (code B ref 69314); Mon, 06 May 2024 09:36:01 +0000 Original-Received: (at 69314) by debbugs.gnu.org; 6 May 2024 09:35:09 +0000 Original-Received: from localhost ([127.0.0.1]:36775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3ukX-0007FS-06 for submit@debbugs.gnu.org; Mon, 06 May 2024 05:35:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3ukU-0007F9-RE for 69314@debbugs.gnu.org; Mon, 06 May 2024 05:35:07 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s3ujz-0007Ax-MU; Mon, 06 May 2024 05:34:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=UnXCEI107Q/cObHVOFqTPDwiWqK89PMxFEPVoJxBhz4=; b=LK7iBKvtqhqAsX+2uyAD W6C/Z1KNS9tPQc4czzFgWPybzOQ5AW8nxGV8wHV+WEyoSw9VwCKF0eYlhV2bG4bZOvwZXEkNPXGXS sKpJEAWUQ4nLMkfhU66jmhN7029l+VcitcNap2CgAauLQytTG6Hv2+gGKQngfjnXqc9HiV9NVwNmx 8z17NnVTfy+b0c0JLW0c4WuNCQUg7i+dI+zAIsujDBvHPAsLpigctG4oiCy6hwsGHYZ0Yyar3n2WG jERGDH4R/cXQ+VCut24aUD6VaRGbJYt+CO7Cyc0IVARzT8IdzbzWA7XAGZJrcO0th/YZX2j5yXclu 9wHUnY+30W9cwg==; In-Reply-To: <41b70293a61ce187c698097462c16cac5d2ac40f.camel@hahnjo.de> (Jonas Hahnfeld's message of "Thu, 22 Feb 2024 21:09:00 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.bugs:10831 Archived-At: Hi Jonas, Jonas Hahnfeld skribis: > On Thu, 2024-01-04 at 11:57 +0100, Jonas Hahnfeld wrote: >> From 95f15821c535537c7ad4fdae1988855314d56ece Mon Sep 17 00:00:00 2001 >> From: Jonas Hahnfeld >> Date: Thu, 4 Jan 2024 11:44:55 +0100 >> Subject: [PATCH] Speed up stage0 bootstrap build using prebuilts >>=20 >> Use prebuilt bytecode of ice-9/eval.go and others for all of stage0, >> it is optimized and evaluation is much faster. In my environment, >> this speeds up the build of guile-3.0.9 from around 29 minutes to >> only 19 minutes. >>=20 >> * meta/build-env.in: In stage0, prefer prebuilt bytecode over just >> compiled stage0 files. >> --- >> meta/build-env.in | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >>=20 >> diff --git a/meta/build-env.in b/meta/build-env.in >> index bdc88ded4..446a536af 100644 >> --- a/meta/build-env.in >> +++ b/meta/build-env.in >> @@ -58,7 +58,7 @@ then >> fi >> export GUILE_LOAD_PATH >> case "$GUILE_BOOTSTRAP_STAGE" in >> - stage0) GUILE_LOAD_COMPILED_PATH=3D"${top_builddir}/stage0:${to= p_srcdir}/prebuilt/@SCM_PREBUILT_BINARIES@" ;; >> + stage0) GUILE_LOAD_COMPILED_PATH=3D"${top_srcdir}/prebuilt/@SCM= _PREBUILT_BINARIES@:${top_builddir}/stage0" ;; I don=E2=80=99t understand why changing the order would make a difference. Surely if .go files are available under prebuilt/, they=E2=80=99ll be found, even if that directory comes second? Or am I missing something? Thanks for the patch! Ludo=E2=80=99.