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
From 64235b3012ebf6ac337a8615dd91ae08beb95180 Mon Sep 17 00:00:00 2001
From: Federico Beffa <be...@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 via email to