From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Beffa Subject: bug#18933: ATLAS fails to build on mips Date: Sat, 8 Nov 2014 22:45:18 +0100 Message-ID: References: <20141103093342.GA7695@debian.eduroam.u-bordeaux.fr> <20141103212745.GA29422@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnDpi-00024h-1X for bug-guix@gnu.org; Sat, 08 Nov 2014 16:46:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XnDpb-00080O-TB for bug-guix@gnu.org; Sat, 08 Nov 2014 16:46:09 -0500 Received: from debbugs.gnu.org ([140.186.70.43]:56812) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnDpb-00080J-Oh for bug-guix@gnu.org; Sat, 08 Nov 2014 16:46:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XnDpa-0000SZ-TD for bug-guix@gnu.org; Sat, 08 Nov 2014 16:46:03 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20141103212745.GA29422@debian> 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: Andreas Enge Cc: 18933@debbugs.gnu.org I'm trying to pass an architecture parameter to configure. However, if I do something like ... #: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") ... the configure flags are not recognized. Differently from this, if I pass each parameter as a separate string as in "-A" "52" "-V" "1" they are recognized. Do you have a suggestion for how to achieve this without 4 equal 'if'? Regards, Fede