From 211ea54122f3f72220dbe39dfbb86e506be925b9 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 7 May 2023 09:56:08 +0300 Subject: 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(-) (limited to 'gnu/packages') 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 ;;; Copyright © 2016 Sou Bunnbu ;;; Copyright © 2016 Jelle Licht -;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner +;;; Copyright © 2016-2023 Efraim Flashner ;;; Copyright © 2016 Rene Saavedra ;;; Copyright © 2016 Ben Woodcroft ;;; Copyright © 2016, 2023 Clément Lassieur @@ -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))))) -- cgit v1.2.3