unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: atlas: Try to fix build on MIPS.
@ 2014-11-22 15:52 Federico Beffa
  2014-11-22 17:28 ` Ludovic Courtès
  2014-12-06 23:46 ` Ludovic Courtès
  0 siblings, 2 replies; 5+ messages in thread
From: Federico Beffa @ 2014-11-22 15:52 UTC (permalink / raw)
  To: Guix-devel

[-- 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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-12-07 20:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-22 15:52 [PATCH] gnu: atlas: Try to fix build on MIPS Federico Beffa
2014-11-22 17:28 ` 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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).