From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.emacs.devel Subject: Re: Suppressing native compilation (short and long term) Date: Sun, 02 Oct 2022 13:17:15 -0500 Message-ID: <87lepym6ok.fsf@trouble.defaultvalue.org> References: <87bkqxf1ij.fsf@tethera.net> <8335c9dkyf.fsf@gnu.org> <83tu4odez7.fsf@gnu.org> <871qrrpkgx.fsf@trouble.defaultvalue.org> <834jwnbi6c.fsf@gnu.org> <87mtafnun5.fsf@trouble.defaultvalue.org> <83sfk6ahty.fsf@gnu.org> <8735c6b0wo.fsf@gnus.org> <87y1ty9lha.fsf@gnus.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="21750"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , david@tethera.net, emacs-devel@gnu.org, akrl@sdf.org To: Lars Ingebrigtsen , Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 02 20:18:27 2022 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 1of3Xm-0005RA-Nt for ged-emacs-devel@m.gmane-mx.org; Sun, 02 Oct 2022 20:18:26 +0200 Original-Received: from localhost ([::1]:45394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1of3Xl-0001ij-Ez for ged-emacs-devel@m.gmane-mx.org; Sun, 02 Oct 2022 14:18:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1of3XD-00011B-53 for emacs-devel@gnu.org; Sun, 02 Oct 2022 14:17:51 -0400 Original-Received: from defaultvalue.org ([45.33.119.55]:37458) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1of3XA-0004Nq-7z; Sun, 02 Oct 2022 14:17:50 -0400 Original-Received: from trouble.defaultvalue.org (localhost [127.0.0.1]) (Authenticated sender: rlb@defaultvalue.org) by defaultvalue.org (Postfix) with ESMTPSA id 030752019F; Sun, 2 Oct 2022 13:17:16 -0500 (CDT) Original-Received: by trouble.defaultvalue.org (Postfix, from userid 1000) id 76E0514E081; Sun, 2 Oct 2022 13:17:15 -0500 (CDT) In-Reply-To: <87y1ty9lha.fsf@gnus.org> Received-SPF: pass client-ip=45.33.119.55; envelope-from=rlb@defaultvalue.org; helo=defaultvalue.org 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.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" Xref: news.gmane.io gmane.emacs.devel:296670 Archived-At: Lars Ingebrigtsen writes: > I'm not quite sure what you mean -- I'm saying that there should be a > way for users to switch off native compilation (and for distributions to > have native compilation for users switched off). > > Which was how this thread started: With a request for such a thing. At the top level, we wanted a way to avoid writing to HOME during packaging, testing, installs (in this case, it's the .eln files, now that we've enabled native compilation). That could be handled by some way to turn off native compilation, or by some way to comprehensively divert those writes to another location (e.g. temp dir). Either is fine, though we'd originally thought the former might make things a bit easier. Whether or not we can (or should) try to build system-level (root owned) .eln files along with the .elc files during package installs (as we already do for .elc files) is a separate question, and I think the more controversial one? Thanks -- Rob Browning rlb @defaultvalue.org and @debian.org GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4