Closed alexmurray closed 11 months ago
Currently we specify --with-native-compilation
as a configure flag
and we setNATIVE_FULL_AOT=1
in the build-environment
section
but it looks like instead we should perhaps be setting --with-native-compilation=aot
as per https://git.savannah.gnu.org/cgit/emacs.git/tree/configure.ac?h=emacs-29.1#n1024
Also added https://github.com/alexmurray/emacs-snap/commit/cf57ec68c2a5ac5b721f445928869ca14232a4d1 to then recompile comp.el after patching it - together these appear to fix this issue. I have promoted this version of the emacs snap to stable now too.
As reported in https://www.reddit.com/r/emacs/comments/15g0gxt/emacs_291_compiling_some_packages_on_every_startup/ elisp files still get natively compiled when the emacs snap is first launched: