unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: Native compilation on as default?
@ 2024-02-29 10:56 Andrea Corallo
  2024-02-29 13:39 ` Eli Zaretskii
  2024-03-02  3:08 ` Should native compilation be enabled by default? Richard Stallman
  0 siblings, 2 replies; 82+ messages in thread
From: Andrea Corallo @ 2024-02-29 10:56 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Andrea Corallo, stefankangas, emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Andrea Corallo <acorallo@gnu.org>
>> Cc: Eli Zaretskii <eliz@gnu.org>,  emacs-devel@gnu.org
>> Date: Wed, 25 Oct 2023 16:50:17 -0400
>> 
>> So I think we could have a new mode, still controlled by
>> native-comp-async-report-warnings-errors, that filters out all the
>> uninteresting warnings (that the programmer already got during byte
>> compilation) but still report this important one.
>> 
>> So even if the package developer doesn't use native compilation it can
>> get the bug report for the issue.
>> 
>> I suspect this might be a good compromise/solution.
>> 
>> WDYT?
>
> Sounds like a plan to me, thanks.

Back on this,

Okay I've implemented the functionality with 8e5baaddec2.

I was in doubt of adding a new value to
'native-comp-async-report-warnings-errors' or add a new knob, but what
we report seemed to me orthogonal to how we do it, so I went for the
second option introducing
'native-comp-async-report-warnings-errors-kind'.

I we decide it's not optimal I don't feel strong about it and I'm happy
to change the approach.

Anyway with this change as per default we report only important warnings
and (all) errors, and we do it presenting the *Warnings* buffer to the
user (which I believe this is the behavior we wanted).

Indeed if something can be improved in the nomenclature or the doc feel
free to do it or come with suggestions.

Thanks!

  Andrea



^ permalink raw reply	[flat|nested] 82+ messages in thread
* Native compilation on as default?
@ 2023-06-08  8:44 Andrea Corallo
  2023-06-09 11:23 ` Eli Zaretskii
  0 siblings, 1 reply; 82+ messages in thread
From: Andrea Corallo @ 2023-06-08  8:44 UTC (permalink / raw)
  To: emacs-devel

Hi all,

native compilation was off by default in 28 and same will be for 29.  I
believe the 28 series proved this feature to be stable.

Also I read a number of dristros (Fedora, Debian, openSUSE, Arch,
Gentoo, NixOS, Guix) offer Emacs with native compilation on.

What about having it on as default for emacs 30?  In case two scenarios:

1- On by default when libgccjit is present otherwise off.

2- On by default and if libgccjit is not present we raise a complain at
configure time, the user can either install libgccjit or manually
indicate --with-native-compilation=no.

WDYT?

Best Regards

  Andrea



^ permalink raw reply	[flat|nested] 82+ messages in thread

end of thread, other threads:[~2024-03-16  8:26 UTC | newest]

Thread overview: 82+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-29 10:56 Native compilation on as default? Andrea Corallo
2024-02-29 13:39 ` Eli Zaretskii
2024-02-29 15:07   ` Andrea Corallo
2024-02-29 16:26     ` Eli Zaretskii
2024-03-02  3:08 ` Should native compilation be enabled by default? Richard Stallman
2024-03-02  7:16   ` Eli Zaretskii
2024-03-05  3:42     ` Richard Stallman
2024-03-05  4:51       ` T.V Raman
2024-03-05  9:31         ` Andrea Corallo
2024-03-05 15:02           ` T.V Raman
2024-03-05 15:39             ` Andrea Corallo
2024-03-05 16:01               ` T.V Raman
2024-03-05 17:03                 ` Andrea Corallo
2024-03-05 15:59             ` Suhail Singh
2024-03-05 16:46               ` T.V Raman
2024-03-05 12:25         ` Eli Zaretskii
2024-03-05 15:04           ` T.V Raman
2024-03-05 15:51             ` Eli Zaretskii
2024-03-05 16:03               ` T.V Raman
2024-03-05 16:37                 ` Eli Zaretskii
2024-03-05 16:11             ` Andrea Corallo
2024-03-05 16:47               ` T.V Raman
2024-03-05  9:57       ` Andrea Corallo
2024-03-08  2:29         ` Richard Stallman
2024-03-08  8:13           ` Eli Zaretskii
2024-03-05 12:24       ` Eli Zaretskii
2024-03-08  2:29         ` Richard Stallman
2024-03-08  8:28           ` Eli Zaretskii
2024-03-08  2:29         ` Richard Stallman
2024-03-05 20:42       ` Björn Bidar
2024-03-14 17:15         ` Emanuel Berg
2024-03-15 12:44           ` Colin Baxter
2024-03-15 16:01             ` Ihor Radchenko
2024-03-15 13:14               ` Colin Baxter
2024-03-15 13:29                 ` Colin Baxter
2024-03-15 13:53                   ` Corwin Brust
2024-03-15 15:08                     ` Colin Baxter
2024-03-15 15:13                       ` Emanuel Berg
2024-03-15 15:15                   ` Eli Zaretskii
2024-03-15 16:26                     ` Colin Baxter
2024-03-15 17:08                       ` Andrea Corallo
2024-03-15 20:35                         ` Emanuel Berg
2024-03-16  8:26                           ` Eli Zaretskii
2024-03-15 15:21                   ` Emanuel Berg
2024-03-15 16:24                     ` Andrea Corallo
2024-03-15 16:47                       ` Emanuel Berg
2024-03-15 15:13                 ` Eli Zaretskii
     [not found]       ` <87a5ncfm1r.fsf@>
2024-03-08  2:29         ` Richard Stallman
2024-03-08  8:06           ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2023-06-08  8:44 Native compilation on as default? Andrea Corallo
2023-06-09 11:23 ` Eli Zaretskii
2023-06-09 16:56   ` Andrea Corallo
2023-06-09 17:22     ` Eli Zaretskii
2023-10-25 14:11   ` Andrea Corallo
2023-10-25 14:18     ` Eli Zaretskii
2023-10-25 14:42       ` Stefan Kangas
2023-10-25 20:50         ` Andrea Corallo
2023-10-25 21:22           ` Stefan Kangas
2023-10-25 21:33             ` Andrea Corallo
2023-10-25 22:48               ` Stefan Kangas
2023-10-26  0:32                 ` Po Lu
2023-10-26  6:39                   ` Eli Zaretskii
2023-10-26  3:47               ` Dr. Arne Babenhauserheide
2023-10-26  7:13                 ` Eli Zaretskii
2023-10-26  4:58           ` Eli Zaretskii
2023-11-20  9:41             ` Andrea Corallo
2023-11-20 12:20               ` Eli Zaretskii
2023-11-20 22:21                 ` Emanuel Berg
2023-11-21 10:39                   ` Andrea Corallo
2023-11-21 10:38                 ` Andrea Corallo
2023-10-26  2:27     ` Richard Stallman
2023-10-26  3:55       ` brickviking
2023-10-26  7:20         ` Eli Zaretskii
2023-10-26  7:36         ` Colin Baxter
2023-10-26  9:41           ` Andrea Corallo
2023-10-26 12:07             ` Colin Baxter
2023-10-26 12:14               ` Andrea Corallo
2023-10-26 13:02               ` Eli Zaretskii
2023-10-27  7:08                 ` Colin Baxter
2023-10-26 14:22               ` Emanuel Berg
2023-10-27 14:41                 ` Gregor Zattler
2023-10-26  6:44       ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).