unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: guix-devel <guix-devel@gnu.org>
Subject: [PATCH] Fix jellyfish on non-x86_64
Date: Sat, 27 Feb 2016 17:10:07 +0100	[thread overview]
Message-ID: <8760xadti8.fsf@mdc-berlin.de> (raw)

[-- 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


             reply	other threads:[~2016-02-27 16:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-27 16:10 Ricardo Wurmus [this message]
2016-02-27 20:22 ` [PATCH] Fix jellyfish on non-x86_64 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8760xadti8.fsf@mdc-berlin.de \
    --to=ricardo.wurmus@mdc-berlin.de \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).