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: Native compilation: the bird-eye view Date: Sat, 15 Aug 2020 10:51:35 +0000 Message-ID: References: <83o8qocd32.fsf@gnu.org> <83ftbzdewp.fsf@gnu.org> <83blmndbpo.fsf@gnu.org> <838shrdb1c.fsf@gnu.org> <837dxbd93b.fsf@gnu.org> 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="40437"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: Stefan Monnier , Eli Zaretskii , Paul Eggert To: Andrea Corallo via "Emacs development discussions." Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Aug 15 16:57:59 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 1k6xd8-000AHw-Td for ged-emacs-devel@m.gmane-mx.org; Sat, 15 Aug 2020 16:57:58 +0200 Original-Received: from localhost ([::1]:47248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k6xd7-0008G3-Sc for ged-emacs-devel@m.gmane-mx.org; Sat, 15 Aug 2020 10:57:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k6xar-0005GG-7e for emacs-devel@gnu.org; Sat, 15 Aug 2020 10:55:37 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:49434) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k6xap-0004aK-AI; Sat, 15 Aug 2020 10:55:36 -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 07FApZ1Y014659; Sat, 15 Aug 2020 10:51:35 GMT In-Reply-To: (Andrea Corallo via's message of "Mon, 10 Aug 2020 21:34:06 +0000") 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/15 05:45:25 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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:253791 Archived-At: All right, I've pushed what I'm working on to scratch/native-comp-eln-caches This is removing .eln from the load suffixes and now the load is done automatically only if a .elc is being loaded and the correpsonding .eln is found. (We may revisit this later if we want to remove the elc files from the source tree) Loading manually an eln is with this setup only possible using a lower level primitive as `native-elisp-load'. The search of the eln is done looping on `comp-eln-load-path' as suggested. This by default has two entries (user and system one). The system one is assumed to be always the last. This branch enable by default deferred-compilation too. At this stage I'm wondering if we should rename it as jit-something. make install is ATM not functional. On this subject wanted to ask, in which position do we want to install the eln-cache system directory? Thanks Andrea -- akrl@sdf.org