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
This commit is contained in:
Ludovic Courtès 2025-09-25 14:40:20 +02:00
parent e10da6bff8
commit 55b39642e2
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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)