emacs-devel
[Top][All Lists]
Advanced

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

Re: Finalizing 'inhibit-automatic-native-compilation'


From: Eli Zaretskii
Subject: Re: Finalizing 'inhibit-automatic-native-compilation'
Date: Sun, 29 Jan 2023 08:25:35 +0200

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: emacs-devel@gnu.org,  akrl@sdf.org,  larsi@gnus.org,  rlb@defaultvalue.org
> Date: Sat, 28 Jan 2023 17:24:55 -0500
> 
> >> >> And we do have a solution: pregenerate the trampolines.
> >> > So you are saying that the "prevent writing trampolines" part of
> >> > inhibit-automatic-native-compilation is not needed?
> >> 
> >> I'm saying it's only needed temporarily, until we fix our compilation
> >> system so trampolines are pregenerated.
> >
> > Can we decide that "temporarily" we will write trampolines even if
> > native-compilation was disabled, i.e. go back to what we had in Emacs
> > 28?
> 
> I don't understand the question: the context of what I'm proposing is
> when there is no writable eln-cache in $HOME, and I'm proposing to solve
> the problem by writing them to `temporary-file-directory`.

IMO, the "no writable eln-cache" scenario should be solved by tweaking
native-comp-eln-load-path to include a writable directory.  That
writable directory could be temporary-file-directory, or it could be
anything else, but it should be specified by the caller/user, not
pulled out of our hat behind the scenes.



reply via email to

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