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:
Ricardo Wurmus 2015-02-12 11:58:40 +01:00
parent 3ff733901a
commit e58d01faf5
1 changed files with 9 additions and 2 deletions

View File

@ -197,8 +197,15 @@ Illumina, Roche 454, and the SOLiD platform.")
"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