mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: hisat: fix build on non-x86_64.
* gnu/packages/bioinformatics.scm (hisat): Add "POPCNT_CAPABILITY=0" to make-flags on architectures other than x86_64.
This commit is contained in:
parent
3ff733901a
commit
e58d01faf5
1 changed files with 9 additions and 2 deletions
|
@ -197,8 +197,15 @@ (define-public hisat
|
|||
"1k381ydranqxp09yf2y7w1d0chz5d59vb6jchi89hbb0prq19lk5"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f ;no check target
|
||||
#:make-flags '("allall")
|
||||
`(#:tests? #f ;no check target
|
||||
#:make-flags '("allall"
|
||||
;; Disable unsupported `popcnt' instructions on
|
||||
;; architectures other than x86_64
|
||||
,@(if (string-prefix? "x86_64"
|
||||
(or (%current-target-system)
|
||||
(%current-system)))
|
||||
'()
|
||||
'("POPCNT_CAPABILITY=0")))
|
||||
#:phases
|
||||
(alist-replace
|
||||
'unpack
|
||||
|
|
Loading…
Reference in a new issue