guix-commits
[Top][All Lists]
Advanced

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

54/85: gnu: libgcrypt: Skip hanging benchmark tests for the Hurd.


From: guix-commits
Subject: 54/85: gnu: libgcrypt: Skip hanging benchmark tests for the Hurd.
Date: Thu, 15 Jun 2023 02:32:42 -0400 (EDT)

janneke pushed a commit to branch hurd-team
in repository guix.

commit 5f5817883f0464caa10bf57900bd65ab8f52830b
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Tue Jun 6 20:39:50 2023 +0200

    gnu: libgcrypt: Skip hanging benchmark tests for the Hurd.
    
    * gnu/packages/gnupg.scm (libgcrypt)[arguments]: When building for the Hurd,
    add phase 'setenv' to set "GCRYPT_NO_BENCHMARKS".
---
 gnu/packages/gnupg.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index bc196c9d3f..3e0287fac9 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -204,7 +204,15 @@ Daemon and possibly more in the future.")
              ,@(if (%current-target-system)
                    ;; When cross-compiling, _gcry_mpih_lshift etc are 
undefined.
                    `("--disable-asm")
-                   '()))))
+                   '()))
+       ,@(if (target-hurd?)
+             (list
+              #:phases
+              #~(modify-phases %standard-phases
+                  (add-before 'configure 'setenv
+                    (lambda _
+                      (setenv "GCRYPT_NO_BENCHMARKS" "t")))))
+             '())))
     (outputs '("out" "debug"))
     (home-page "https://gnupg.org/";)
     (synopsis "Cryptographic function library")



reply via email to

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