[Top][All Lists]

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

Re: origin/features/native-comp: Where do jitted .eln files go?

From: Andrea Corallo
Subject: Re: origin/features/native-comp: Where do jitted .eln files go?
Date: Tue, 25 Aug 2020 06:18:03 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

"T.V Raman" <raman@google.com> writes:

> Hi Andrea and others on the native-branch:
> I successfully built the native-comp branch and ran it --- as elisp libs
> get loaded from my elpa/ directory etc, I see  Emacs saying that it's
> native compiling those files -- however I have no idea where it places
> those (I can see the .eln files in my Emacs build for the .el files that
> come with Emacs).
> Additional question: If I wanted to native-compile a given elisp
> package, what elisp function should I call to do the native compile?

Hi Raman,

I believe the last update here https://akrl.sdf.org should answer your
questions on where the .eln are :)

The compilation for packages is supposed to happen automatically, but if
you really want to invoke the native compilation manually to compile AoT
a package you can still invoke something like:

(native-compile-async "~/.emacs.d/elpa/etcetc" 4 t)

> Finally: It wasn't obvious that doing the native compile requireds the
> --with-zip flag to configure.

Yeah that's a dependency introduced very recently (this weekend :), we
may remove it depending on what's the final strategy for hashing the the
eln filenames we decide to go for.

> Thanks Andrea for the awesome work to get the native-comp branch to such
> a mature state!

Glad you enjoy it!




reply via email to

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