all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andrea Corallo via "Emacs development discussions." <emacs-devel@gnu.org>
To: "T.V Raman" <raman@google.com>
Cc: emacs-devel@gnu.org
Subject: Re: origin/features/native-comp: Where do jitted .eln files  go?
Date: Tue, 25 Aug 2020 06:18:03 +0000	[thread overview]
Message-ID: <xjfpn7f2qqs.fsf@sdf.org> (raw)
In-Reply-To: <p91lfi36cup.fsf@google.com> (T. V. Raman's message of "Mon, 24 Aug 2020 12:52:14 -0700")

"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!

Thanks

  Andrea

-- 
akrl@sdf.org



  reply	other threads:[~2020-08-25  6:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-24 19:52 origin/features/native-comp: Where do jitted .eln files go? T.V Raman
2020-08-25  6:18 ` Andrea Corallo via Emacs development discussions. [this message]
2020-08-25 15:23   ` Possible Race condition? " T.V Raman
2020-08-25 19:53     ` Andrea Corallo via Emacs development discussions.
2020-08-25 20:19       ` T.V Raman
2020-08-25 21:04         ` Andrea Corallo via Emacs development discussions.
     [not found]   ` <24394.59245.98750.79288@google.com>
     [not found]     ` <xjf8sdwzjov.fsf@sdf.org>
2020-08-30 14:07       ` T.V Raman
2020-08-30 20:33         ` Andrea Corallo via Emacs development discussions.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xjfpn7f2qqs.fsf@sdf.org \
    --to=emacs-devel@gnu.org \
    --cc=akrl@sdf.org \
    --cc=raman@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.