all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] openblas on MIPS.
Date: Thu, 29 Oct 2015 21:36:44 +0100	[thread overview]
Message-ID: <87a8r18l9f.fsf@gnu.org> (raw)
In-Reply-To: <idjoafh6862.fsf@bimsb-sys02.mdc-berlin.net> (Ricardo Wurmus's message of "Thu, 29 Oct 2015 15:50:13 +0100")

Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> skribis:

> I tried building OpenBLAS on one of the MIPS build slaves and it went
> through the build phase without errors when I set the TARGET to
> SICORTEX.  Unfortunately, this doesn’t mean that OpenBLAS actually works
> on MIPS: one of the tests fails.
>
> Meanwhile OpenBLAS version 0.2.15 was released and I just updated our
> package.  It may well be that this bug has already been fixed by the new
> release.
>
> At any rate, I think the two attached patches (one to pass
> TARGET=SICORTEX on MIPS; another to enable substitutes for MIPS) are an
> improvement.  We can use substitutes for MIPS (and ARM for that matter)
> only when TARGET is specified.  The only MIPS target that seems to work
> for us appears to be SICORTEX as the other supported targets use
> Loongson extensions.

Nice!

> From 5132d4f9a36e65439b1295c672ad41364016e6a9 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
> Date: Thu, 29 Oct 2015 15:42:09 +0100
> Subject: [PATCH 1/2] gnu: openblas: Set TARGET to SICORTEX on MIPS.
>
> * gnu/packages/maths.scm (openblas)[arguments]: Add "TARGET=SICORTEX" to
>   make-flags when building for MIPS.

Sounds good but…

> -                   '("DYNAMIC_ARCH=1")
> -                   ;; On MIPS we force the SICORTEX TARGET, as for the other
> -                   ;; two available MIPS targets special Loongson extended
> -                   ;; instructions are used.
> -                   (if (string-prefix? "mips" (%current-system))
> -                       '("TARGET=SICORTEX")

This doesn’t seem to be a patch against master, is it?

> From b281c60fe666082040097c0d585e942fa5fa1550 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
> Date: Thu, 29 Oct 2015 15:43:21 +0100
> Subject: [PATCH 2/2] gnu: openblas: Make substitutable on MIPS.
>
> * gnu/packages/maths.scm (openblas)[arguments]: Make package
>   substitutable when the system is MIPS.

OK.

Thanks for the tireless investigation work!

Ludo’.

  reply	other threads:[~2015-10-29 20:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-29 14:50 [PATCH] openblas on MIPS Ricardo Wurmus
2015-10-29 20:36 ` Ludovic Courtès [this message]
2015-10-29 21:57   ` Ricardo Wurmus
2015-10-30 12:43   ` Ricardo Wurmus
2015-10-30 16:45     ` 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=87a8r18l9f.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=ricardo.wurmus@mdc-berlin.de \
    /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.