emacs-devel
[Top][All Lists]
Advanced

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

Re: Building a tarball with native-compilation support


From: Andrea Corallo
Subject: Re: Building a tarball with native-compilation support
Date: Tue, 17 Aug 2021 10:16:44 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Sat, 07 Aug 2021 13:32:07 +0300
>> From: Eli Zaretskii <eliz@gnu.org>
>> Cc: larsi@gnus.org, emacs-devel@gnu.org
>> 
>> > Date: Sat, 07 Aug 2021 09:48:13 +0300
>> > From: Eli Zaretskii <eliz@gnu.org>
>> > Cc: larsi@gnus.org, emacs-devel@gnu.org
>> > 
>> > > Date: Sat, 07 Aug 2021 09:23:42 +0300
>> > > From: Eli Zaretskii <eliz@gnu.org>
>> > > Cc: larsi@gnus.org, emacs-devel@gnu.org
>> > > 
>> > > So I think a better way would be to write a function in Emacs Lisp
>> > > that is passed a list of preloaded Lisp files, and natively-compiles
>> > > those of them whose *.eln files are either outdated or do not exist.
>> > 
>> > Actually, such a function already exists: native-compile-async.  We
>> > just need to write a suitable function to act as the SELECTOR for it.
>> 
>> Hmm... I seem to be unable to force native-compile-async to produce
>> the .eln file under native-lisp/preloaded/.  Andrea, how can I do
>> that?  I tried to set native-compile-target-directory, but it didn't
>> seem to help (??), the resulting .eln file is always under
>> ~/.emacs.d/eln-cache/ for some reason.
>> 
>> What am I missing?
>
> Andrea, can you help me out here, please?  How do I tell
> native-compile-async to produce the .eln file in native-lisp/preloaded/?
>
> TIA

Sorry I'm just back online after one week.  I'll have a look this
evening and come back here.

  Andrea



reply via email to

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