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".
This commit is contained in:
parent
c5991dfb92
commit
ebc35c6096
|
@ -204,7 +204,15 @@ (define-public libgcrypt
|
|||
,@(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")
|
||||
|
|
Loading…
Reference in a new issue