From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] Add Julia. Date: Tue, 24 Mar 2015 21:45:55 +0100 Message-ID: <87r3se15vg.fsf@gnu.org> References: <87384vqtwh.fsf@netris.org> <87pp7yphom.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaViA-0000zl-0v for guix-devel@gnu.org; Tue, 24 Mar 2015 16:46:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YaVi6-00065Z-Re for guix-devel@gnu.org; Tue, 24 Mar 2015 16:46:05 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46014) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaVi6-00065S-OS for guix-devel@gnu.org; Tue, 24 Mar 2015 16:46:02 -0400 In-Reply-To: (Ricardo Wurmus's message of "Tue, 24 Mar 2015 18:14:06 +0100") 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 Cc: guix-devel Ricardo Wurmus skribis: > May I suggest adding passing the "DYNAMIC_ARCH=3D1" flag in openblas > instead of propagating non-substitutability to Julia? When built with > "DYNAMIC_ARCH=3D1" the CPU type can be picked with the environment > variable OPENBLAS_CORETYPE=3D. If I'm not mistaken this makes > substitutions for openblas possible. > > What do you think? I think that this is the preferred option, when possible. (Likewise glibc uses IFUNCs to choose the right implementation of various functions at load time; GMP is built --enable-fat, which works similarly.) Thanks, Ludo=E2=80=99.