From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH] Fix jellyfish on non-x86_64 Date: Sat, 27 Feb 2016 17:10:07 +0100 Message-ID: <8760xadti8.fsf@mdc-berlin.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZhRl-0007wQ-QI for guix-devel@gnu.org; Sat, 27 Feb 2016 11:10:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZhRi-0007UV-JQ for guix-devel@gnu.org; Sat, 27 Feb 2016 11:10:21 -0500 Received: from pegasus.bbbm.mdc-berlin.de ([141.80.25.20]:34950) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZhRi-0007UJ-AK for guix-devel@gnu.org; Sat, 27 Feb 2016 11:10:18 -0500 Received: from localhost (localhost [127.0.0.1]) by pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTP id 9A5C2380BE6 for ; Sat, 27 Feb 2016 17:10:14 +0100 (CET) Received: from pegasus.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (pegasus.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aBNE248nqcSi for ; Sat, 27 Feb 2016 17:10:08 +0100 (CET) Received: from HTCAONE.mdc-berlin.net (puck.citx.mdc-berlin.de [141.80.36.101]) by pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTP for ; Sat, 27 Feb 2016 17:10:08 +0100 (CET) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel --=-=-= Content-Type: text/plain This is an attempt to fix the building of Jellyfish on non-x86_64. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename="0001-gnu-jellyfish-Disable-SSE-and-intl128-when-not-on-x8.patch" >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 --=-=-=--