guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: guile@3: Disable JIT on GNU/Hurd.


From: guix-commits
Subject: 02/02: gnu: guile@3: Disable JIT on GNU/Hurd.
Date: Sun, 5 Apr 2020 06:55:08 -0400 (EDT)

civodul pushed a commit to branch wip-hurd-vm
in repository guix.

commit f5b05934c47ec5f78a7967b308f874b021a7a7cb
Author: Ludovic Courtès <address@hidden>
AuthorDate: Sun Apr 5 12:54:29 2020 +0200

    gnu: guile@3: Disable JIT on GNU/Hurd.
    
    * gnu/packages/guile.scm (guile-3.0)[arguments]: New field.
---
 gnu/packages/guile.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index d957b3e..6bbc9c1 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -291,6 +291,13 @@ without requiring the source code to be rewritten.")
               (sha256
                (base32
                 "12lziar4j27j9whqp2n18427q45y9ghq7gdd8lqhmj1k0lr7vi2k"))))
+    (arguments
+     ;; XXX: JIT-enabled Guile crashes in obscure ways on GNU/Hurd.
+     (if (hurd-target?)
+         (substitute-keyword-arguments (package-arguments guile-2.2)
+           ((#:configure-flags flags ''())
+            `(cons "--disable-jit" ,flags)))
+         (package-arguments guile-2.2)))
     (native-search-paths
      (list (search-path-specification
             (variable "GUILE_LOAD_PATH")



reply via email to

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