[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: esbuild: Fix test-suite on riscv64-linux.
From: |
guix-commits |
Subject: |
branch master updated: gnu: esbuild: Fix test-suite on riscv64-linux. |
Date: |
Sun, 07 May 2023 03:10:44 -0400 |
This is an automated email from the git hooks/post-receive script.
efraim pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 211ea54122 gnu: esbuild: Fix test-suite on riscv64-linux.
211ea54122 is described below
commit 211ea54122f3f72220dbe39dfbb86e506be925b9
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun May 7 09:56:08 2023 +0300
gnu: esbuild: Fix test-suite on riscv64-linux.
* gnu/packages/web.scm (esbuild)[arguments]: Adjust custom 'check phase
to enable running the tests on riscv64-linux.
---
gnu/packages/web.scm | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 26a059ddd4..95180ac316 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -10,7 +10,7 @@
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2016 Jelle Licht <jlicht@fsfe.org>
-;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner
<efraim@flashner.co.il>
+;;; Copyright © 2016-2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
;;; Copyright © 2016, 2023 Clément Lassieur <clement@lassieur.org>
@@ -1784,8 +1784,12 @@ UTS#46.")
(when tests?
;; The "Go Race Detector" is only supported on 64-bit
;; platforms, this variable disables it.
- (unless ,(target-64bit?)
- (setenv "ESBUILD_RACE" ""))
+ ;; TODO: Causes too many rebuilds, rewrite to limit to x86_64,
+ ;; aarch64 and ppc64le.
+ ,(if (target-riscv64?)
+ `(setenv "ESBUILD_RACE" "")
+ `(unless ,(target-64bit?)
+ (setenv "ESBUILD_RACE" "")))
(with-directory-excursion (string-append "src/" unpack-path)
(invoke "make" "test-go")))
#t)))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: esbuild: Fix test-suite on riscv64-linux.,
guix-commits <=