[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Speeding up the bootstrap build - a quick hack.
From: |
Eli Zaretskii |
Subject: |
Re: Speeding up the bootstrap build - a quick hack. |
Date: |
Wed, 19 Jan 2022 19:03:46 +0200 |
> Date: Wed, 19 Jan 2022 16:50:11 +0000
> Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org
> From: Alan Mackenzie <acm@muc.de>
>
> The idea is to leave lisp/Makefile.in unchanged, and make all the
> alterations in src/Makefile.in.
>
> The segment of code you cite above builds all of compile-first in one
> invocation, so there's no need to worry about mixtures of interpreted
> source and .elc.
>
> So, we duplicate that bit of code, setting the Emacs variable
> no-native-compile on the command line of the first occurrence. This
> will cause the byte compilation of all of compile-first.
>
> After this bit of new code, we use 'touch' to set the date of these new
> *.elc's back to the distant past. This will ensure that these *.el's
> get built again in the next step.
>
> The second duplicate of the old bit of make code will build the .eln's,
> using the ("very old") .elc's which are still available inside Emacs.
> It should do this reasonably quickly, because it is using *.elc's.
Yes, that's the idea.
> Yes, I agree that this approach is more elegant and surely easier to
> maintain than my original hack, if it can be made to work (which it
> surely can). I will look at this this evening. Thanks for the
> suggestion.
Thank you.
- Re: Speeding up the bootstrap build - a quick hack., (continued)
- Re: Speeding up the bootstrap build - a quick hack., Po Lu, 2022/01/17
- Re: Speeding up the bootstrap build - a quick hack., Eli Zaretskii, 2022/01/18
- Re: Speeding up the bootstrap build - a quick hack., Stefan Monnier, 2022/01/18
- Re: Speeding up the bootstrap build - a quick hack., Alan Mackenzie, 2022/01/19
- Re: Speeding up the bootstrap build - a quick hack., Eli Zaretskii, 2022/01/19
- Re: Speeding up the bootstrap build - a quick hack., Alan Mackenzie, 2022/01/19
- Re: Speeding up the bootstrap build - a quick hack.,
Eli Zaretskii <=
- Re: Speeding up the bootstrap build - a quick hack., Alan Mackenzie, 2022/01/19
- Re: Speeding up the bootstrap build - a quick hack., Robert Pluim, 2022/01/20
- Re: Speeding up the bootstrap build - a quick hack., Alan Mackenzie, 2022/01/20
- Re: Speeding up the bootstrap build - a quick hack., Robert Pluim, 2022/01/20
- Re: Speeding up the bootstrap build - a quick hack., Robert Pluim, 2022/01/20
- Re: Speeding up the bootstrap build - a quick hack., Alan Mackenzie, 2022/01/20
- Re: Speeding up the bootstrap build - a quick hack., Stefan Monnier, 2022/01/20
- Re: Speeding up the bootstrap build - a quick hack., Robert Pluim, 2022/01/21
- Re: Speeding up the bootstrap build - a quick hack., Stephen Leake, 2022/01/21
- Re: Speeding up the bootstrap build - a quick hack., David Engster, 2022/01/21