[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suppressing native compilation (short and long term)
From: |
Andrea Corallo |
Subject: |
Re: Suppressing native compilation (short and long term) |
Date: |
Wed, 28 Sep 2022 18:49:43 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Andrea Corallo <akrl@sdf.org>
>> Cc: emacs-devel@gnu.org
>> Date: Wed, 28 Sep 2022 12:52:59 +0000
>>
>> This is what `native-comp-deferred-compilation' does. Well except for
>> trampolines but this is extremly light as cpu/energy cost.
>
> I think if we want to allow people to turn off async compilation, we
> should provide a way to force native-comp-available-p to return nil.
> When that function returns nil, Emacs already does react correctly (or
> at least it's supposed to).
Yes `native-comp-deferred-compilation' AFAIK does exactly this already,
`native-comp-available-p' is to check if the native compiler is
available (not necessarily the deferred/async mechanism).
Best Regards
Andera
- Suppressing native compilation (short and long term), Rob Browning, 2022/09/27
- Re: Suppressing native compilation (short and long term), Lars Ingebrigtsen, 2022/09/28
- Re: Suppressing native compilation (short and long term), Eli Zaretskii, 2022/09/28
- Re: Suppressing native compilation (short and long term), Andrea Corallo, 2022/09/28
- Re: Suppressing native compilation (short and long term), Eli Zaretskii, 2022/09/28
- Re: Suppressing native compilation (short and long term),
Andrea Corallo <=
- Re: Suppressing native compilation (short and long term), Eli Zaretskii, 2022/09/28
- Re: Suppressing native compilation (short and long term), Andrea Corallo, 2022/09/28
- Re: Suppressing native compilation (short and long term), Eli Zaretskii, 2022/09/29
- Re: Suppressing native compilation (short and long term), Andrea Corallo, 2022/09/29
- Re: Suppressing native compilation (short and long term), Eli Zaretskii, 2022/09/29
- Re: Suppressing native compilation (short and long term), Andrea Corallo, 2022/09/29
- Re: Suppressing native compilation (short and long term), Eli Zaretskii, 2022/09/29