emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MPS: Please check if scratch/igc builds with native compilation


From: Gerd Möllmann
Subject: Re: MPS: Please check if scratch/igc builds with native compilation
Date: Tue, 21 May 2024 21:38:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Andrea Corallo <acorallo@gnu.org> writes:

> Andrea Corallo <acorallo@gnu.org> writes:
>
>> Helmut Eller <eller.helmut@gmail.com> writes:
>>
>>> Is there some way to disable optimizations for libgccjit so that the
>>> native compiler isn't quite so slow?
>>
>> The following should do the job, maybe is also an interesting test to
>> do...
>>
>> modified   lisp/emacs-lisp/comp.el
>> @@ -54,7 +54,7 @@ comp
>>    "Emacs Lisp native compiler."
>>    :group 'lisp)
>>
>> -(defcustom native-comp-speed 2
>> +(defcustom native-comp-speed 0
>>    "Optimization level for native compilation, a number between -1 and 3.
>>   -1 functions are kept in bytecode form and no native compilation is 
>> performed
>>      (but *.eln files are still produced, and include the compiled code in
>
> Okay a datapoint, I did managed to bootstrap two times a native compiled
> Emacs with only this patch installed with no errors.

Interesting. On my systems, speed 0 didn't change things.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]