~ruther/guix-local

55b39642e23626ed6e6e828dfd6288d78528cb3f — Ludovic Courtès a year ago e10da6b
gnu: guile-fibers@1.4: Disable JIT for ‘make check’.

Fixes guix/guix#2474.

* gnu/packages/guile-xyz.scm (guile-fibers-1.4)[arguments]: Add ‘disable-jit’
phase on AArch64.

Change-Id: Idad1a5e1a84d29259bf1ed4a284f9981c50defb8
1 files changed, 14 insertions(+), 1 deletions(-)

M gnu/packages/guile-xyz.scm
M gnu/packages/guile-xyz.scm => gnu/packages/guile-xyz.scm +14 -1
@@ 1189,7 1189,20 @@ is not available for Guile 2.0.")
              (base32
               "15ynxr3pfjscd6mz641zagv6i84jh9y65i5dnbb3j3q72j6bbvnb"))
             (patches '())))
    (arguments '())))
    (arguments
     (if (target-aarch64?)
         (list #:phases
               #~(modify-phases %standard-phases
                   (add-before 'check 'disable-jit
                     (lambda _
                       ;; XXX: Due to a JIT bug in Guile 3.0.9 on AArch64,
                       ;; some tests would hang:
                       ;; <https://codeberg.org/fibers/fibers/issues/83>.
                       ;; Disable JIT for now; re-enable it when Guile 3.0.10+
                       ;; is used.  (Note: The Shepherd disables JIT on
                       ;; AArch64 so it can safely use Fibers.)
                       (setenv "GUILE_JIT_THRESHOLD" "-1")))))
         '()))))

(define-public guile-fibers guile-fibers-1.4)