From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: [PATCH] Add Julia. Date: Thu, 26 Mar 2015 11:19:04 -0400 Message-ID: <87twx7okgn.fsf@netris.org> References: <87384vqtwh.fsf@netris.org> <87pp7yphom.fsf@netris.org> <87d23xoxp2.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yb9Ye-000627-OS for guix-devel@gnu.org; Thu, 26 Mar 2015 11:19:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yb9Ya-0001eS-Mt for guix-devel@gnu.org; Thu, 26 Mar 2015 11:18:56 -0400 Received: from world.peace.net ([50.252.239.5]:37394) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yb9Ya-0001dG-Il for guix-devel@gnu.org; Thu, 26 Mar 2015 11:18:52 -0400 In-Reply-To: <87d23xoxp2.fsf@netris.org> (Mark H. Weaver's message of "Wed, 25 Mar 2015 12:20:57 -0400") 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 Mark H Weaver writes: > Ricardo Wurmus writes: > >> May I suggest adding passing the "DYNAMIC_ARCH=1" flag in openblas >> instead of propagating non-substitutability to Julia? When built with >> "DYNAMIC_ARCH=1" the CPU type can be picked with the environment >> variable OPENBLAS_CORETYPE=. If I'm not mistaken this makes >> substitutions for openblas possible. >> >> What do you think? > > Yes, we should do this. When reading this the first time, somehow I managed to miss the fact that users will have to set OPENBLAS_CORETYPE to their CPU type. Does that mean that openblas is unable to detect the CPU type automatically? What does it do if OPENBLAS_CORETYPE is unset? Will we have to set it during the build of packages that use openblas, such as Julia? Thanks, Mark