unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 3320fda779948dfaf51af4802db37e9df3b2a096 836 bytes (raw)
name: gnu/packages/patches/emacs-disable-jit-compilation.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
 
Index: emacs-29.2/src/comp.c
===================================================================
--- emacs-29.2.orig/src/comp.c
+++ emacs-29.2/src/comp.c
@@ -5648,8 +5648,12 @@ For internal use. */);
     doc: /* If non-nil, compile loaded .elc files asynchronously.
 
 After compilation, each function definition is updated to use the
-natively-compiled one.  */);
-  native_comp_jit_compilation = true;
+natively-compiled one.  This variable is enabled by default upstream,
+but disabled in Guix to better make use of precompiled packages.
+Notably, with this switch enabled, Emacs will recompile libraries
+that were already natively compiled with Guix, so use it with
+caution.  */);
+  native_comp_jit_compilation = false;
 
   DEFSYM (Qnative_comp_speed, "native-comp-speed");
   DEFSYM (Qnative_comp_debug, "native-comp-debug");

debug log:

solving 3320fda779 ...
found 3320fda779 in https://yhetil.org/guix-patches/0e8f58759ef025b3fc010b021a157a80babfea18.1705846445.git.liliana.prikler@gmail.com/

applying [1/1] https://yhetil.org/guix-patches/0e8f58759ef025b3fc010b021a157a80babfea18.1705846445.git.liliana.prikler@gmail.com/
diff --git a/gnu/packages/patches/emacs-disable-jit-compilation.patch b/gnu/packages/patches/emacs-disable-jit-compilation.patch
new file mode 100644
index 0000000000..3320fda779

1:13: trailing whitespace.
 
1:23: trailing whitespace.
 
Checking patch gnu/packages/patches/emacs-disable-jit-compilation.patch...
Applied patch gnu/packages/patches/emacs-disable-jit-compilation.patch cleanly.
warning: 2 lines add whitespace errors.

index at:
100644 3320fda779948dfaf51af4802db37e9df3b2a096	gnu/packages/patches/emacs-disable-jit-compilation.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

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

	https://git.savannah.gnu.org/cgit/guix.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).