guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: atlas: Try to fix build on MIPS.


From: Federico Beffa
Subject: 01/01: gnu: atlas: Try to fix build on MIPS.
Date: Sun, 23 Nov 2014 14:38:38 +0000

beffa pushed a commit to branch master
in repository guix.

commit af89a6673522a0260f04ae503b53813c053ca26f
Author: Federico Beffa <address@hidden>
Date:   Sat Nov 22 16:42:41 2014 +0100

    gnu: atlas: Try to fix build on MIPS.
    
    * gnu/packages/maths.scm (atlas): Add MIPS specific configure flags.
---
 gnu/packages/maths.scm |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 1aa3757..cc068b9 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -979,6 +979,12 @@ 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'.
+         ,,@(if (string-prefix? "mips" (%current-system))
+              (list "-A" "49" "-V" "1")
+              (list))
          ;; Generate shared libraries.
          "--shared"
          ;; Build a full LAPACK library.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]