[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch wip-hurd updated: gnu: libgcrypt: Skip hanging benchmark tests fo
From: |
guix-commits |
Subject: |
branch wip-hurd updated: gnu: libgcrypt: Skip hanging benchmark tests for the Hurd. |
Date: |
Tue, 06 Jun 2023 14:50:33 -0400 |
This is an automated email from the git hooks/post-receive script.
janneke pushed a commit to branch wip-hurd
in repository guix.
The following commit(s) were added to refs/heads/wip-hurd by this push:
new 2fd4ad0d1c gnu: libgcrypt: Skip hanging benchmark tests for the Hurd.
2fd4ad0d1c is described below
commit 2fd4ad0d1c62683785b9634efea92ca948236abe
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 8ca9bf5e6b..5a9e3fd173 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -203,7 +203,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")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch wip-hurd updated: gnu: libgcrypt: Skip hanging benchmark tests for the Hurd.,
guix-commits <=