me
/
guix
Archived
1
0
Fork 0

gnu: libgcrypt: Skip hanging benchmark tests on the Hurd.

* gnu/packages/gnupg.scm (libgcrypt)[arguments]: When building natively on the
Hurd, add phase 'setenv' to set "GCRYPT_NO_BENCHMARKS".
Janneke Nieuwenhuizen 2023-06-06 20:39:50 +02:00
parent c5991dfb92
commit ebc35c6096
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 9 additions and 1 deletions

View File

@ -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 (system-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")