mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: openssl: Fix build on riscv64-linux.
* gnu/packages/tls.scm (openssl)[arguments]: On riscv64-linux use a custom 'check phase to skip a failing test. (target->openssl-target): Add case for riscv64-linux.
This commit is contained in:
parent
b591052866
commit
3a73399ee8
1 changed files with 6 additions and 2 deletions
|
@ -358,7 +358,10 @@ (define (target->openssl-target target)
|
|||
((string-prefix? "powerpc64" target)
|
||||
"linux-ppc64")
|
||||
((string-prefix? "powerpc" target)
|
||||
"linux-ppc")))
|
||||
"linux-ppc")
|
||||
((string-prefix? "riscv64" target)
|
||||
;; linux64-riscv64 isn't recognized until 3.0.0.
|
||||
"linux-generic64")))
|
||||
|
||||
(define-public openssl
|
||||
(package
|
||||
|
@ -404,7 +407,8 @@ (define-public openssl
|
|||
#~())
|
||||
;; This test seems to be dependant on kernel features.
|
||||
;; https://github.com/openssl/openssl/issues/12242
|
||||
#$@(if (target-arm?)
|
||||
#$@(if (or (target-arm?)
|
||||
(target-riscv64?))
|
||||
#~((replace 'check
|
||||
(lambda* (#:key tests? test-target #:allow-other-keys)
|
||||
(when tests?
|
||||
|
|
Loading…
Reference in a new issue