From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: Finalizing 'inhibit-automatic-native-compilation' Date: Sun, 29 Jan 2023 13:42:52 -0800 Message-ID: <86fsbtaug3.fsf@stephe-leake.org> References: <837cx8cey0.fsf@gnu.org> <86wn57bmjt.fsf@stephe-leake.org> <83edrfaxp9.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="6482"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org, akrl@sdf.org, larsi@gnus.org, monnier@iro.umontreal.ca, rlb@defaultvalue.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 29 22:43:48 2023 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 1pMFSl-0001Tx-E2 for ged-emacs-devel@m.gmane-mx.org; Sun, 29 Jan 2023 22:43:47 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMFS1-0005gW-Qe; Sun, 29 Jan 2023 16:43:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMFRz-0005gC-W6 for emacs-devel@gnu.org; Sun, 29 Jan 2023 16:43:00 -0500 Original-Received: from gproxy3-pub.mail.unifiedlayer.com ([69.89.30.42]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMFRx-0002jf-Ec for emacs-devel@gnu.org; Sun, 29 Jan 2023 16:42:59 -0500 Original-Received: from cmgw14.mail.unifiedlayer.com (unknown [10.0.90.129]) by progateway5.mail.pro1.eigbox.com (Postfix) with ESMTP id C267510047D63 for ; Sun, 29 Jan 2023 21:42:54 +0000 (UTC) Original-Received: from host2007.hostmonster.com ([67.20.76.71]) by cmsmtp with ESMTP id MFRtpfeTFc5SPMFRtpHh93; Sun, 29 Jan 2023 21:42:54 +0000 X-Authority-Reason: nr=8 X-Authority-Analysis: v=2.4 cv=e7bD9Yl/ c=1 sm=1 tr=0 ts=63d6e85e a=dWLzHQi6WpdymmZIwiVdBw==:117 a=Fln8i1WyhtedwaIJAdHvmw==:17 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=RvmDmJFTN0MA:10:nop_rcvd_month_year a=vvvmwbhNdt4A:10:endurance_base64_authed_username_1 a=mDV3o1hIAAAA:8 a=9i_RQKNPAAAA:8 a=oX08kPI8AAAA:8 a=OocQHUDgAAAA:8 a=iRZporoAAAAA:8 a=EOc2JXbaAAAA:8 a=tMHstpNfrBWk1ly4wB4A:9 a=hqnlY9SSy_kA:10:uccc_2email_address a=_FVE-zBwftR9WsbkzFJk:22 a=Ev4oQ7kfJBNsvnoXShoW:22 a=HoS0eNqkKlFy34tK5QRU:22 a=xUZTl98r3Qw_uB5NK3jt:22 a=NOBgFS-JBQ2l-kSd6-zu:22 a=gH8ThKG5bbBet7udEkm3:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=stephe-leake.org; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Bmq2YcLliMn0+GXdU/Mn5xCUREVEkc8pTchOlQN1uPg=; b=QVX7xBq72ZtvMkq2aUZTZKQYyb Bl1mrQJ+TYS4AJ3HtC+EF7c55wAl+VtE+Yhl7FXIz8ZttwUK3+BoFZdjAo723LFXPOyDVjWjRElEY IZVDICUkJQozINIsiXzVaNVTSDiqLQZQNd1v0gB9YSUm1zQuft3lkJvFO8e4Tu3eJdWurqmzyORoT 6nO/X+l0caPGUvz2sQz/Lxib8vf4Eo8awC3pgxDeHcItTbQuWfWdMGuSTw5aiepR+fR2GugSfqNW6 cvnxKqwht/8AwWlSKbl6eXc48RK6jPwrXN8dSH2CLymWrmRThmbHh6aoNz83hNNWGcRafxq5CV2t5 GpQkAi5A==; Original-Received: from 135-180-197-170.fiber.dynamic.sonic.net ([135.180.197.170]:51145 helo=DESKTOP-G20DCG1) by host2007.hostmonster.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1pMFRt-003JZP-B5; Sun, 29 Jan 2023 14:42:53 -0700 In-Reply-To: <83edrfaxp9.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 28 Jan 2023 10:08:02 +0200") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host2007.hostmonster.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stephe-leake.org X-BWhitelist: no X-Source-IP: 135.180.197.170 X-Source-L: No X-Exim-ID: 1pMFRt-003JZP-B5 X-Source-Sender: 135-180-197-170.fiber.dynamic.sonic.net (DESKTOP-G20DCG1) [135.180.197.170]:51145 X-Source-Auth: stephen_leake@stephe-leake.org X-Email-Count: 4 X-Source-Cap: c3RlcGhlbGU7c3RlcGhlbGU7aG9zdDIwMDcuaG9zdG1vbnN0ZXIuY29t X-Local-Domain: yes Received-SPF: pass client-ip=69.89.30.42; envelope-from=stephen_leake@stephe-leake.org; helo=gproxy3-pub.mail.unifiedlayer.com X-Spam_score_int: 16 X-Spam_score: 1.6 X-Spam_bar: + X-Spam_report: (1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=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.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:302767 Archived-At: Eli Zaretskii writes: >> From: Stephen Leake >> Cc: emacs-devel@gnu.org, Andrea Corallo , Lars Ingebrigtsen >> , Stefan Monnier , Rob >> Browning >> Date: Fri, 27 Jan 2023 15:11:18 -0800 >> >> Eli Zaretskii writes: >> >> > Here are the questions I think we want to be answered to finalize the >> > implementation and effects of 'inhibit-automatic-native-compilation': >> > >> > . Do people actually use 'inhibit-automatic-native-compilation' or >> > the corresponding environment variable? If so, for what reasons, >> > and why tweaking 'native-comp-eln-load-path' to direct the *.eln >> > files to some other place, including the temporary-file directory, >> > was not enough? >> >> I do. >> >> When running Emacs ada-mode tests, I spawn lots of Emacsen. If each one >> tries to native compile stuff, it just slows down the tests. >> >> I could try to ensure the stuff is native compiled first, but that's a >> maintenance burden. > > Disabling async native-compilation was supported before we introduced > this variable (via native-comp-deferred-compilation) and will continue > being supported, for several valid reasons. Removing that capability > is not on the table. Ok, good. > I understand that if inhibiting native-compilation would still produce > trampolines in the rare cases where they are needed, it will not do > any significant harm to your use case, is that right? Right. >> > . What do we want to do about compiling trampolines when >> > native-compilation is disabled? >> >> What is the name of the "temporary directory" that is not deleted on >> Windows? I can check it see if is created when I run my tests. > > It's the system temporary directory, the one that's the value of > temporary-file-directory. And it isn't the directory that is not > deleted, it's the comp-lambda-*.eln files (and maybe also *.eln files > under different names, like *--trampoline-*.eln) in that directory. On Windows: c:/Users/Stephe/AppData/Local/Temp No *.eln files there, so apparently I'm not doing anything that requires trampolines. -- -- Stephe