[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#46983: 28.0.50; [feature/native] Allow .el files to specify non-defa
From: |
Andrea Corallo |
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> 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