guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add Julia.


From: Ludovic Courtès
Subject: Re: [PATCH] Add Julia.
Date: Thu, 26 Mar 2015 17:58:26 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Mark H Weaver <address@hidden> skribis:

> Mark H Weaver <address@hidden> writes:
>
>> Ricardo Wurmus <address@hidden> 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=<type>.  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.

Me too actually.

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

Good points, this is a bit scary.  I assumed openblas would just detect
the CPU automatically at run time.

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]