[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Speeding up the bootstrap build - a quick hack.
From: |
Alan Mackenzie |
Subject: |
Re: Speeding up the bootstrap build - a quick hack. |
Date: |
Tue, 18 Jan 2022 14:04:35 +0000 |
Hello, Robert.
On Tue, Jan 18, 2022 at 14:16:33 +0100, Robert Pluim wrote:
> >>>>> On Tue, 18 Jan 2022 11:56:38 +0000, Alan Mackenzie <acm@muc.de> said:
> >> > # An old-fashioned suffix rule, which, according to the GNU Make
> manual,
> >> > # cannot have prerequisites.
> >> > ifeq ($(HAVE_NATIVE_COMP),yes)
> >> > -.el.elc:
> >> > +.el.elc0:
> >> > + $(AM_V_ELC)$(emacs) $(BYTE_COMPILE_FLAGS) \
> >> > + --exec "(setq load-suffixes '(\".elc0\" \".el\"))" \
> >> > + -f batch-byte-compile $<
> >> > + mv $<c $@
> I think this would be far cleaner and less fragile if you used an
> order-only prerequisite instead of inventing new suffixes.
Thanks for the reply.
I'm not actually that experienced with make files. What does "an
orer-only prerequisite" mean?
There was a problem with the current situation where the existence of a
..elc file prevented the native compiler from working. So I renamed
these early files to .elc0, to prevent them getting in the way.
How might I do this better?
> Robert
> --
--
Alan Mackenzie (Nuremberg, Germany).
- Speeding up the bootstrap build - a quick hack., Alan Mackenzie, 2022/01/17
- Re: Speeding up the bootstrap build - a quick hack., Stefan Monnier, 2022/01/17
- Re: Speeding up the bootstrap build - a quick hack., Alan Mackenzie, 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/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., Stefan Monnier, 2022/01/19
- Re: Speeding up the bootstrap build - a quick hack., Stefan Monnier, 2022/01/19
- Re: Speeding up the bootstrap build - a quick hack., Robert Pluim, 2022/01/18
- Re: Speeding up the bootstrap build - a quick hack.,
Alan Mackenzie <=
- Re: Speeding up the bootstrap build - a quick hack., Robert Pluim, 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., Robert Pluim, 2022/01/18
- Re: Speeding up the bootstrap build - a quick hack., Robert Pluim, 2022/01/18
- Re: Speeding up the bootstrap build - a quick hack., Eli Zaretskii, 2022/01/18
- Re: Speeding up the bootstrap build - a quick hack., Andrea Corallo, 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., Stefan Monnier, 2022/01/18
- Re: Speeding up the bootstrap build - a quick hack., Robert Pluim, 2022/01/18
Re: Speeding up the bootstrap build - a quick hack., Lars Ingebrigtsen, 2022/01/17