[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Speeding up the bootstrap build - a quick hack.
From: |
Robert Pluim |
Subject: |
Re: Speeding up the bootstrap build - a quick hack. |
Date: |
Tue, 18 Jan 2022 16:13:23 +0100 |
>>>>> On Tue, 18 Jan 2022 15:35:42 +0100, Robert Pluim <rpluim@gmail.com> said:
Stefan> In an ideal world the second rule would not have `bytecomp.elc` as
its
Stefan> target but would have something like `bytecomp.eln` instead, but we
have
Stefan> not yet been able to teach Make how to compute the name of the
generated
Stefan> `.eln` file (it's not just `bytecomp.eln` but includes some hash of
the
Stefan> Emacs binary).
Robert> Thereʼs no other file or directory name that contains that hash?
Could
Robert> we do a dummy compile of an empty .el using the native compiler and
Robert> derive the hash from that? (and then compile the native compiler
with
Robert> the byte compiler).
Answering my own question:
src/emacs -batch --eval '(message "%s" (comp-el-to-eln-filename \
"./lisp/emacs-lisp/bytecomp.el" (car (last \
native-comp-eln-load-path))))' 2>&1
seems to give the right answer.
Robert
--
- Re: Speeding up the bootstrap build - a quick hack., (continued)
- 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, 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., 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 <=
- 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
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