From f86b1ecef4a3760cc7807f3cacdb0e820e8b4c1b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 27 Feb 2016 16:46:28 +0100 Subject: [PATCH] gnu: jellyfish: Disable SSE and intl128 when not on x86_64. * gnu/packages/bioinformatics.scm (jellyfish)[arguments]: Append "--with-sse=no" and "--with-int128=no" to configure flags unless the system is x86_64. --- gnu/packages/bioinformatics.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 7b3838d..36bcfd4 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -1984,7 +1984,11 @@ experiments and provide highly stable thresholds based on reproducibility.") (list (string-append "--enable-ruby-binding=" (assoc-ref %outputs "ruby")) (string-append "--enable-python-binding=" - (assoc-ref %outputs "python"))) + (assoc-ref %outputs "python")) + ,@(let ((system (or (%current-target-system) (%current-system)))) + (if (string-prefix? "x86_64" system) + '() + '("--with-sse=no" "--with-int128=no")))) #:phases (modify-phases %standard-phases (add-before 'check 'set-SHELL-variable -- 2.6.3