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 "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#46983: 28.0.50; [feature/native] Allow .el files to specify non-default values for native-compilation options Date: Sun, 07 Mar 2021 06:54:06 +0000 Message-ID: References: <83zgzftt5t.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="11987"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 46983@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 07 07:55:17 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1lInJt-00030C-6I for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Mar 2021 07:55:17 +0100 Original-Received: from localhost ([::1]:33578 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lInJr-0001Ib-LI for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Mar 2021 01:55:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59510) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lInJe-0001IO-JQ for bug-gnu-emacs@gnu.org; Sun, 07 Mar 2021 01:55:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55502) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lInJd-0008VY-MQ for bug-gnu-emacs@gnu.org; Sun, 07 Mar 2021 01:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lInJd-0002PR-KC for bug-gnu-emacs@gnu.org; Sun, 07 Mar 2021 01:55:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Mar 2021 06:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46983 X-GNU-PR-Package: emacs Original-Received: via spool by 46983-submit@debbugs.gnu.org id=B46983.16151000519198 (code B ref 46983); Sun, 07 Mar 2021 06:55:01 +0000 Original-Received: (at 46983) by debbugs.gnu.org; 7 Mar 2021 06:54:11 +0000 Original-Received: from localhost ([127.0.0.1]:38815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lInIp-0002OI-9m for submit@debbugs.gnu.org; Sun, 07 Mar 2021 01:54:11 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:51232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lInIm-0002O9-0g for 46983@debbugs.gnu.org; Sun, 07 Mar 2021 01:54:10 -0500 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 1276s6Ns008885 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Sun, 7 Mar 2021 06:54:06 GMT In-Reply-To: <83zgzftt5t.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 07 Mar 2021 07:43:58 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:201725 Archived-At: Eli Zaretskii writes: > This is a feature request. Since there are various stability and > reliability issues with libgccjit, some Emacs Lisp files may need to > specify non-default values for some native-compilation options, such as > 'comp-speed' or 'comp-native-driver-options'. Hi Eli, if the interface we'd like to expose is the through file-local variables then this should work already for `comp-speed' and `comp-debug', I'extend it for `comp-native-driver-options'. > Moreover, some files may > need to prevent native-compilation entirely. Setting comp-speed to -1 achieve something close but still producing a .eln as output. I guess we want also a way to prevent native-compilation entirely correct? Thanks Andrea