guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: nsq: Fix build on i686-linux.


From: guix-commits
Subject: branch master updated: gnu: nsq: Fix build on i686-linux.
Date: Fri, 19 Jan 2024 09:00:34 -0500

This is an automated email from the git hooks/post-receive script.

sharlatan pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 65e7828a95 gnu: nsq: Fix build on i686-linux.
65e7828a95 is described below

commit 65e7828a95d6317d895f842c94a6f1406e1b45f8
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Fri Jan 19 13:54:22 2024 +0000

    gnu: nsq: Fix build on i686-linux.
    
    As seen in https://ci.guix.gnu.org/build/3329277/details
    
    * gnu/packages/high-availability.scm (nsq)[arguments]<#:phases>{check}:
    Skip '-race' option during tests on i686-linux.
    
    Change-Id: I952d7187443835d5fbcb74f0ae09b923bd6bdb29
---
 gnu/packages/high-availability.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/high-availability.scm 
b/gnu/packages/high-availability.scm
index e4920cb3d7..eccdb3594e 100644
--- a/gnu/packages/high-availability.scm
+++ b/gnu/packages/high-availability.scm
@@ -223,7 +223,9 @@ applications.")
               (when tests?
                 (setenv "HOME" "/tmp")
                 (with-directory-excursion (string-append "src/" import-path)
-                  (invoke #$@(if (target-x86?)
+                ;; go test: -race is only supported on linux/amd64,
+                ;; linux/ppc64le, linux/arm64
+                  (invoke #$@(if (not target-x86-32?)
                                  (list "go" "test" "-v" "-race" "./...")
                                  (list "go" "test" "-v" "./...")))))))
           (replace 'install



reply via email to

[Prev in Thread] Current Thread [Next in Thread]