From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Re: origin/features/native-comp: Where do jitted .eln files go? Date: Tue, 25 Aug 2020 06:18:03 +0000 Message-ID: References: Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21365"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: emacs-devel@gnu.org To: "T.V Raman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 25 08:18:48 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kASIA-0005RU-Ia for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Aug 2020 08:18:46 +0200 Original-Received: from localhost ([::1]:37254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kASI9-0001p1-Ll for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Aug 2020 02:18:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kASHX-0001Bm-Tv for emacs-devel@gnu.org; Tue, 25 Aug 2020 02:18:07 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:57222) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kASHV-0002Kh-33 for emacs-devel@gnu.org; Tue, 25 Aug 2020 02:18:07 -0400 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 07P6I334009399; Tue, 25 Aug 2020 06:18:03 GMT In-Reply-To: (T. V. Raman's message of "Mon, 24 Aug 2020 12:52:14 -0700") Received-SPF: pass client-ip=205.166.94.24; envelope-from=akrl@sdf.org; helo=mx.sdf.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/25 02:18:03 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:254214 Archived-At: "T.V Raman" 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