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
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. The patch is verified to give a faster build for 4 and 32 build threads. The only downside is that it requires GNU Make 3.8 (which was released 200

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
Hi Mikael, Mikael Djurfeldt writes: > I find that the attached patch saves a few minutes for parallel builds > on a four core machine. What it does is to build both eval.go and > psyntax.pp.go serially before the rest is built in parallel (when make > is given -j). > > Here's an attempt at expla