From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Beffa Subject: RFC: building numpy against OpenBLAS. Date: Sat, 23 May 2015 09:20:47 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yw3pO-0004oI-V3 for guix-devel@gnu.org; Sat, 23 May 2015 03:26:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yw3pN-0002xi-RR for guix-devel@gnu.org; Sat, 23 May 2015 03:26:38 -0400 Received: from mail-ig0-x22e.google.com ([2607:f8b0:4001:c05::22e]:37136) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yw3jj-0001Xs-Us for guix-devel@gnu.org; Sat, 23 May 2015 03:20:48 -0400 Received: by igbsb11 with SMTP id sb11so5642189igb.0 for ; Sat, 23 May 2015 00:20:47 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: ricardo.wurmus@mdc-berlin.de Cc: Guix-devel Ricardo Wurmus writes: > Hi Guix, > > python-numpy currently depends on Atlas, which means that it cannot be > substituted with a binary built elsewhere. OpenBLAS is an alternative > to Atlas and the binary can be used on all supported CPUs at runtime. > This makes it possible for us to make numpy substitutable. Out of curiosity, could you outline how OpenBLAS is optimized for a specific CPU architecture while being compiled on a different CPU (and hence allowing to be substituted)? Thanks, Fede