diff options
author | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-02-12 11:58:40 +0100 |
---|---|---|
committer | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-02-12 14:09:00 +0100 |
commit | e58d01faf5780db0efa54f0b40f63acd18e1b30c (patch) | |
tree | 2646c231cfcc0dfe41588b745632d57abda56131 /gnu/packages/bioinformatics.scm | |
parent | 3ff733901a474e0173f9498cfb293115c24b9bf6 (diff) | |
download | guix-e58d01faf5780db0efa54f0b40f63acd18e1b30c.tar.gz |
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.
Diffstat (limited to 'gnu/packages/bioinformatics.scm')
-rw-r--r-- | gnu/packages/bioinformatics.scm | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 1766855c93..75837923e2 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -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 |