guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 11/52: gnu: guile@3: Disable JIT on GNU/Hurd.
Date: Thu, 9 Apr 2020 13:29:03 -0400 (EDT)

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

commit a3d9da2302b8780890802cc0a3995b2b70b2fa38
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 a665c05..d69dee5 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]