all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Federico Beffa <beffa@ieee.org>
To: Guix-devel <guix-devel@gnu.org>
Subject: [PATCH] gnu: atlas: Try to fix build on MIPS.
Date: Sat, 22 Nov 2014 16:52:06 +0100	[thread overview]
Message-ID: <CAKrPhPP6KOftNcKak436931VRkhzMVdLqjyT5515BYoOu0_pBg@mail.gmail.com> (raw)

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

I would like to propose the attached patch to try to fix the MIPS
package.  I'm not sure if this really help, but I do not have a way to
test it locally.

Regards,
Fede

[-- Attachment #2: 0001-gnu-atlas-Try-to-fix-build-on-MIPS.patch --]
[-- Type: text/x-patch, Size: 1120 bytes --]

From 64235b3012ebf6ac337a8615dd91ae08beb95180 Mon Sep 17 00:00:00 2001
From: Federico Beffa <beffa@fbengineering.ch>
Date: Sat, 22 Nov 2014 16:42:41 +0100
Subject: [PATCH] gnu: atlas: Try to fix build on MIPS.

* gnu/packages/maths.scm (atlas): Add MIPS specific configure flags.
---
 gnu/packages/maths.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 1aa3757..6a8d56c 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -979,6 +979,11 @@ point numbers")
          ;; Disable parallel build as it gives errors: atlas_pthread.h is
          ;; needed to compile C files before it is generated.
          "-Ss" "pmake" "make -j 1"
+         ;; Probe is failing for MIPS.  We therefore define the system
+         ;; architecture explicitly by setting (-A) MACHINETYPE = 49
+         ;; 'MIPSR1xK' and (-V) ISA = 1 'none'.
+         ,,@(when (string-prefix? "mips" (%current-system))
+              (list "-A" "49" "-V" "1"))
          ;; Generate shared libraries.
          "--shared"
          ;; Build a full LAPACK library.
-- 
1.8.4


             reply	other threads:[~2014-11-22 15:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-22 15:52 Federico Beffa [this message]
2014-11-22 17:28 ` [PATCH] gnu: atlas: Try to fix build on MIPS Ludovic Courtès
2014-12-06 23:46 ` Ludovic Courtès
2014-12-07 14:11   ` Federico Beffa
2014-12-07 20:27     ` Ludovic Courtès

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

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

  git send-email \
    --in-reply-to=CAKrPhPP6KOftNcKak436931VRkhzMVdLqjyT5515BYoOu0_pBg@mail.gmail.com \
    --to=beffa@ieee.org \
    --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 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.