From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: bug#18933: ATLAS fails to build on mips Date: Sun, 9 Nov 2014 10:29:14 +0100 Message-ID: <20141109092914.GB8425@debian> References: <20141103093342.GA7695@debian.eduroam.u-bordeaux.fr> <20141103212745.GA29422@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnOp0-0000MM-Vh for bug-guix@gnu.org; Sun, 09 Nov 2014 04:30:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XnOot-0004PJ-Ge for bug-guix@gnu.org; Sun, 09 Nov 2014 04:30:10 -0500 Received: from debbugs.gnu.org ([140.186.70.43]:56976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnOot-0004Os-CX for bug-guix@gnu.org; Sun, 09 Nov 2014 04:30:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XnOos-0006Cy-Ls for bug-guix@gnu.org; Sun, 09 Nov 2014 04:30:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Federico Beffa Cc: 18933@debbugs.gnu.org On Sat, Nov 08, 2014 at 10:45:18PM +0100, Federico Beffa wrote: > #:configure-flags > `(... > ;; On non "x86_64" / "i686" platforms, do not guess processor > ;; architecture (because it fails) and do not use ISA extensions. > ;; We set MACHINETYPE = 52 'generic' and ISA = 1 'none'. > ,,(if (not (and (string-prefix? "x86_64" (%current-system)) > (string-prefix? "i686" (%current-system)))) > "-A 52 -V 1") You should put the different configure flags as elements of a list. To concatenate with an existing list, you can do something like this (taken from xkbcomp): (inputs `(,@(package-inputs xkbcomp-intermediate) ("xkeyboard-config" ,xkeyboard-config))) Andreas