emacs-devel
[Top][All Lists]
Advanced

[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
-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]