|
From: | Andrea Corallo |
Subject: | Re: Native compilation: the bird-eye view |
Date: | Tue, 19 May 2020 16:25:52 +0000 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Currently a .el file is compiled as: /bar/foo.el => /bar/eln-x86_64-pc-linux-gnu-d241bf45dde51f21/foo.eln where the directory name eln-... disamiguates architecture triplet and Emacs version/configuration. One option would be in case to fall back in deposing the eln in something like: ~/.emacs.d/eln-cache/bar/eln-x86_64-pc-linux-gnu-d241bf45dde51f21/foo.eln Both the directories would be added into the effective load path during load if existing. The logic to fallback from the first option to the second could be as simple as "if I have no write access on /bar just fallback" to something more complex. This way we could distribute binaries but also have deferred compilation working in all situations. Bests Andrea
[Prev in Thread] | Current Thread | [Next in Thread] |