all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] Fix jellyfish on non-x86_64
@ 2016-02-27 16:10 Ricardo Wurmus
  2016-02-27 20:22 ` Efraim Flashner
  2016-02-27 23:31 ` Andreas Enge
  0 siblings, 2 replies; 7+ messages in thread
From: Ricardo Wurmus @ 2016-02-27 16:10 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 68 bytes --]

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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-jellyfish-Disable-SSE-and-intl128-when-not-on-x8.patch --]
[-- Type: text/x-patch, Size: 1396 bytes --]

From f86b1ecef4a3760cc7807f3cacdb0e820e8b4c1b Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <rekado@elephly.net>
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


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-02-28 17:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-27 16:10 [PATCH] Fix jellyfish on non-x86_64 Ricardo Wurmus
2016-02-27 20:22 ` Efraim Flashner
2016-02-27 21:02   ` Ricardo Wurmus
2016-02-27 23:31 ` Andreas Enge
2016-02-28 14:47   ` Ricardo Wurmus
2016-02-28 14:52     ` Andreas Enge
2016-02-28 17:26       ` Ricardo Wurmus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.