mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
e10da6bff8
commit
55b39642e2
1 changed files with 14 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue