guix-commits
[Top][All Lists]
Advanced

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

05/15: gnu: go-github-com-dgraph-io-ristretto: Disable tests when cross-


From: guix-commits
Subject: 05/15: gnu: go-github-com-dgraph-io-ristretto: Disable tests when cross-compiling.
Date: Wed, 6 Nov 2024 05:52:08 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit fb9168d2c060e3041a791c16520c1bc472fd759b
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Nov 6 11:44:01 2024 +0200

    gnu: go-github-com-dgraph-io-ristretto: Disable tests when cross-compiling.
    
    * gnu/packages/golang-xyz.scm (go-github-com-dgraph-io-ristretto)
    [arguments]: Also disable the tests when cross-compiling.
    
    Change-Id: I3addf5203366b6628af304a083ca5e5ce34250c3
---
 gnu/packages/golang-xyz.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 0d6debcac4..8390b905ed 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -6,7 +6,7 @@
 ;;; Copyright © 2019 Brian Leung <bkleung89@gmail.com>
 ;;; Copyright © 2019, 2021 Vagrant Cascadian <vagrant@debian.org>
 ;;; Copyright © 2019-2021 Martin Becze <mjbecze@riseup.net>
-;;; Copyright © 2019-2022 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2019-2022, 2024 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2020 Alex Griffin <a@ajgrf.com>
 ;;; Copyright © 2020 Danny Milosavljevic <dannym@scratchpost.org>
 ;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us>
@@ -2097,7 +2097,8 @@ supports concurrent serializable transactions.")
       ;;
       ;; cannot use 4340958203495 (untyped int constant) as int value in
       ;; argument to z.KeyToHash (overflows)
-      #:tests? (target-64bit?)
+      #:tests? (and (target-64bit?)
+                    (not (%current-target-system)))
       #:import-path "github.com/dgraph-io/ristretto"
       #:phases
       #~(modify-phases %standard-phases



reply via email to

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