From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.devel Subject: Re: Add a configure option for NATIVE_FULL_AOT? Date: Tue, 17 Aug 2021 13:56:28 +0200 Message-ID: References: <83bl5w70vw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26953"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 17 13:57:31 2021 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 1mFxil-0006il-0l for ged-emacs-devel@m.gmane-mx.org; Tue, 17 Aug 2021 13:57:31 +0200 Original-Received: from localhost ([::1]:50152 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mFxij-00006e-DT for ged-emacs-devel@m.gmane-mx.org; Tue, 17 Aug 2021 07:57:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42428) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFxi3-000744-2n for emacs-devel@gnu.org; Tue, 17 Aug 2021 07:56:47 -0400 Original-Received: from mail.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4]:33055 helo=smtp.gentoo.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mFxi0-0003dj-Fh; Tue, 17 Aug 2021 07:56:46 -0400 In-Reply-To: <83bl5w70vw.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 17 Aug 2021 14:42:59 +0300") Received-SPF: pass client-ip=2001:470:ea4a:1:5054:ff:fec7:86e4; envelope-from=ulm@gentoo.org; helo=smtp.gentoo.org X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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:272486 Archived-At: >>>>> On Tue, 17 Aug 2021, Eli Zaretskii wrote: >> From: Ulrich Mueller >> Date: Tue, 17 Aug 2021 10:53:01 +0200 >> >> lisp/Makefile.in has a conditional for NATIVE_FULL_AOT which enables >> native compilation of all elisp files. Presumably distros would want to >> define this when packaging Emacs. > Why would you want to do that? It's in a sense against the original > intent: Lisp files should only be natively-compiled when they are > first needed, and stored under the user's home directory. Otherwise, > you will litter the system-wide directories with a lot of quite large > binary files, which doesn't seem to be a good idea. Storing them in users' home directories also means that every user has to recompile them, and they will be present multiple times on the system. >> AFAICS this variable is not documented. I wonder if it could be made a >> configure option, so a) it would be discoverable and b) its value would >> be recorded in system-configuration-options. > It's not documented precisely because I'm not sure it should be. > I'd be interested to hear your motivation for using this possibility. The motivation is to compile and install these files once system-wide, instead of duplicating them in all users' directories. Conceptually they aren't user specific but belong to the Emacs package.