emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sharing native-lisp system load-path between builds


From: Eli Zaretskii
Subject: Re: Sharing native-lisp system load-path between builds
Date: Mon, 14 Aug 2023 21:41:58 +0300

[Why private email?]

> From: Björn Bidar <bjorn.bidar@thaodan.de>
> Date: Mon, 14 Aug 2023 21:29:34 +0300
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > Thanks.  So what does "work" and "does not work" mean in this context?
> 
> Work means the eln files could be shared, doesn't mean the files can't
> be shared the hash in the native lisp path is different and the files
> are no longer compatible.

How did you share them? did you manually copy them into the same
directory or forced Emacs to write them there?  Or did Emacs create
*.eln files with the same hashes and in the same 29.0.50-NNNNN
subdirectory?  Also, which *.el files were compiled into *.eln files
you could share -- were those the preloaded *.el files, non-preloaded
*.el files from the Emacs tree, or third-party *.el files from
packages that are not bundled with Emacs?

In general, such different configurations could only be able to share
*.eln files by sheer luck.  It is enough to have one more or one less
primitive in one of the builds to require a separate set of *.eln
files, because the hash of the versioned subdirectory of native-lisp/
and of eln-cache changes when primitives are added or deleted.  That
has been so for a very long time, definitely long before commit
3c8167ec0f964.



reply via email to

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