Re: Officially require GNU Make to build Guile? (was Re: Bootstrap optimization)

2018-10-29 Thread Mark H Weaver
Hi Mikael, Mikael Djurfeldt writes: > But, as you concluded, Guile currently uses GNU Make specific > functionality. $(filter-out ...) in bootstrap/Makefile.am is such a > case and also the vpath and %-thingies in am/bootstrap.am. I guess you're right. > Probably, you should start out by makin

Re: Officially require GNU Make to build Guile? (was Re: Bootstrap optimization)

2018-10-29 Thread Mikael Djurfeldt
On Sun, Oct 28, 2018 at 11:34 PM Mark H Weaver wrote: > I'm still inclined to consider it a bug, but maybe we can have the best > of both worlds here. I see that Automake has conditionals: > > https://www.gnu.org/software/automake/manual/automake.html#Conditionals > > How hard would it be to t

Re: Officially require GNU Make to build Guile? (was Re: Bootstrap optimization)

2018-10-28 Thread Greg Troxel
Mark H Weaver writes: > Hmm, good question. I'm not sure, not because 2002 is too recent, but > rather because I'm not sure that GNU Make should be a requirement for > building Guile. > > Guile's README does not list GNU Make in the section of "Required > External Packages". This, along with

Officially require GNU Make to build Guile? (was Re: Bootstrap optimization)

2018-10-28 Thread Mark H Weaver
Hi Mikael, Mikael Djurfeldt writes: > OK, here's a new patch. OK to apply it? > > This actually also fixes the existing problem of all bootstrap objects > being rebuilt of eval.scm is touched. Very nice! I didn't know about this feature in GNU Make. > The patch is verified to give a faster bu

Re: Bootstrap optimization

2018-10-28 Thread Mikael Djurfeldt
eased 2002) or later, but that shouldn't be a problem, right? Best regards, Mikael From 332471874aa227e8b25b747f560ab9185af4f2fb Mon Sep 17 00:00:00 2001 From: Mikael Djurfeldt Date: Thu, 25 Oct 2018 13:53:47 +0200 Subject: [PATCH] Bootstrap optimization * bootstrap/Makefile.am: Build both e

Re: Bootstrap optimization

2018-10-28 Thread Mikael Djurfeldt
Den sön 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. Yo

Re: Bootstrap optimization

2018-10-27 Thread Mark H Weaver
minutes without > the patch. Yes, I've also noticed this issue, and long thought that it would be better to serialize building several of the early bootstrap .go objects. However ... > From 0fe521100487411a2c48f6af14796a22964844a1 Mon Sep 17 00:00:00 2001 > From: Mikael Djurfeldt

Bootstrap optimization

2018-10-25 Thread Mikael Djurfeldt
Mon Sep 17 00:00:00 2001 From: Mikael Djurfeldt Date: Thu, 25 Oct 2018 13:53:47 +0200 Subject: [PATCH] Bootstrap optimization * bootstrap/Makefile.am: Build both eval.go and psyntax-pp.go before the rest of the .go files so that they are handled by a fast macro expander. This saves time for a