From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mikael Djurfeldt Newsgroups: gmane.lisp.guile.devel Subject: Re: Bootstrap optimization Date: Sun, 28 Oct 2018 08:24:20 +0100 Message-ID: References: <87y3aiam5q.fsf@netris.org> Reply-To: mikael@djurfeldt.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000000709da057944d8ba" X-Trace: blaine.gmane.org 1540711372 28038 195.159.176.226 (28 Oct 2018 07:22:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 28 Oct 2018 07:22:52 +0000 (UTC) Cc: guile-devel To: Mark H Weaver Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Oct 28 08:22:48 2018 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGfPL-0007Cj-3g for guile-devel@m.gmane.org; Sun, 28 Oct 2018 08:22:47 +0100 Original-Received: from localhost ([::1]:39084 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGfRR-0005jh-Gy for guile-devel@m.gmane.org; Sun, 28 Oct 2018 03:24:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59825) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGfR7-0005jR-GR for guile-devel@gnu.org; Sun, 28 Oct 2018 03:24:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gGfR3-0001Qq-TX for guile-devel@gnu.org; Sun, 28 Oct 2018 03:24:37 -0400 Original-Received: from mail-ot1-f41.google.com ([209.85.210.41]:40315) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gGfR3-0001Q0-Mv for guile-devel@gnu.org; Sun, 28 Oct 2018 03:24:33 -0400 Original-Received: by mail-ot1-f41.google.com with SMTP id m15so4750705otl.7 for ; Sun, 28 Oct 2018 00:24:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=4DAJ4GvNAVtv3+v0681LLG9UJk17skUf58mZ0iTMIio=; b=VMAVdvvinRLYP58DN9sby2VxqcP9Zk7R0zT7hxLrqkAlEyYSlHyFW95iAhIzCAqMVs DVox3MT03F7UxDidgfEKGtVOQEF10NqUSE40iwJcmMV69kLVfUZG9Y/QHyqjyElG0+fm mQMwNjXqBFIlzmyllQLLbO2jN6OGnsIA+lwUAMPND9G6115E8z0P7U2bfi8U2s0hKiA9 Gye0+UQgc/JImRuTKnH8VFp6SkveRIq3wnq4hPXtZ0M4f6hanwJl0ACTxMkRb9LZZYp3 1IYw89YTyLTNBEDufNRUuN1A0p+gPEnIa0FUR+hQDuYCzMUO1+pejF1Xn2M6b/RViGT7 NF4g== X-Gm-Message-State: AGRZ1gIJbph+HNYdil0g5HPKj0Jv0UvyAMwXgYJ8T9OyauVs1KaVt/NX vFBiAIHN82l1FuSmt5l9iGOvrb1ZdvzOFhikTL2nLQ== X-Google-Smtp-Source: AJdET5eZWf/55Ii6V7S6y8vMZLWHfO9cuDclQFbmWLnlobe0HbwrrG4tz5RZpIUe3Vi23Hbf7TnDpgh1Zn1yRNNSIcE= X-Received: by 2002:a9d:7341:: with SMTP id l1mr4024660otk.270.1540711472625; Sun, 28 Oct 2018 00:24:32 -0700 (PDT) In-Reply-To: <87y3aiam5q.fsf@netris.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.210.41 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:19692 Archived-At: --0000000000000709da057944d8ba Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Den s=C3=B6n 28 okt. 2018 02:35Mark H Weaver skrev: > The downside of this approach to serialization is that when we add file > X.scm to the list of objects to build serially, we force a full rebuild > whenever X.scm is modified. At present, eval.scm is the only file that > forces a full rebuild. Your patch would add psyntax-pp.scm to that > list. > > I don't feel strongly about it, and maybe your patch is still a net > benefit, but I very much wish we had a better way to optimize the early > bootstrap without adding these bogus dependencies. > > > To which branch should this be applied, stable-2.2 or master? > > If we decide to adopt this approach, it should probably be committed to > stable-2.2, but first I'd like to give other people an opportunity to > share their thoughts on this. > > Thoughts? Thank you for spotting this, Mark. I didn't think of this. There seems to be a simple solution in using order-only prerequisites. I'll test this later and suggest a new patch. Best regards, Mikael --0000000000000709da057944d8ba Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


= Den s=C3=B6n 28 okt. 2018 02:35Mark H Weaver <mhw@netris.org> skrev:
The downside of this approach to serialization is that when we add file
X.scm to the list of objects to build serially, we force a full rebuild
whenever X.scm is modified.=C2=A0 At present, eval.scm is the only file tha= t
forces a full rebuild.=C2=A0 Your patch would add psyntax-pp.scm to that list.

I don't feel strongly about it, and maybe your patch is still a net
benefit, but I very much wish we had a better way to optimize the early
bootstrap without adding these bogus dependencies.

> To which branch should this be applied, stable-2.2 or master?

If we decide to adopt this approach, it should probably be committed to
stable-2.2, but first I'd like to give other people an opportunity to share their thoughts on this.

Thoughts?

Thank you for spotting this, Mark. I didn't think of this.

There seems to be a simple solu= tion in using order-only prerequisites. I'll test this later and sugges= t a new patch.

Best rega= rds,
Mikael

--0000000000000709da057944d8ba--