~ruther/guix-local

e58d01faf5780db0efa54f0b40f63acd18e1b30c — Ricardo Wurmus 11 years ago 3ff7339
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.
1 files changed, 9 insertions(+), 2 deletions(-)

M gnu/packages/bioinformatics.scm
M gnu/packages/bioinformatics.scm => gnu/packages/bioinformatics.scm +9 -2
@@ 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