guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix jellyfish on non-x86_64


From: Ricardo Wurmus
Subject: [PATCH] Fix jellyfish on non-x86_64
Date: Sat, 27 Feb 2016 17:10:07 +0100
User-agent: mu4e 0.9.13; emacs 24.5.1

This is an attempt to fix the building of Jellyfish on non-x86_64.

>From f86b1ecef4a3760cc7807f3cacdb0e820e8b4c1b Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <address@hidden>
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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]