emacs-devel
[Top][All Lists]
Advanced

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

Re: Native compilation: the bird-eye view


From: Andrea Corallo
Subject: Re: Native compilation: the bird-eye view
Date: Fri, 29 May 2020 17:25:23 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Andrea Corallo <akrl@sdf.org> writes:

> 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

Hi all,

I'd like to get some feedback on the above proposal.

Thanks

  Andrea

-- 
akrl@sdf.org



reply via email to

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