[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: mozjs: Fix build on riscv64-linux.
From: |
guix-commits |
Subject: |
01/03: gnu: mozjs: Fix build on riscv64-linux. |
Date: |
Thu, 30 May 2024 08:10:24 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit fce707186af8be1dccd46fdf609649e5dc2b9d23
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu May 30 11:44:12 2024 +0300
gnu: mozjs: Fix build on riscv64-linux.
* gnu/packages/gnuzilla.scm (mozjs)[arguments]: When building for
riscv64-linux adjust the 'adjust-tests phase to skip 2 more tests
skipped by upstream.
Change-Id: Ia5fbe6782e3d1d8e1904cdf49a35e0666837b277
---
gnu/packages/gnuzilla.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 814b610bba..510cf1baab 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -176,6 +176,14 @@
((".*killed process should not have exitStatus.*")
""))
+ ;; This was fixed sometime between 102.15.1 and 115.11.0.
+ ;; These tests are supposed to be skipped on all 64-bit
systems.
+ #$@(if (target-riscv64?)
+ #~((substitute* '("non262/Array/regress-157652.js"
+ "non262/regress/regress-422348.js")
+ (("mips64") "mips64|riscv64")))
+ #~())
+
;; The test suite expects a lightly patched ICU. Disable tests
;; that do not work with the system version. See
;; "intl/icu-patches" for clues.