On Sun, Sep 22, 2013 at 08:27:52PM +0100, Richard W.M. Jones wrote:
> However, ATLAS still has different flavors for different CPUs
(e.g.
> 3dnow, sse, sse2, sse3 etc). I'm not sure if this can be easily handled
> with alternatives.
Please don't [to ATLAS upstream, not Susi] do this. It breaks all
sorts of scenarios, especially virtual machine migration or simply
moving hard disks from one physical machine to another.
Arrange your code so it chooses the best available routines when the
program starts up, and compile every feasible alternative into the
binary. Or use kernel vdso/user-helper functions when that is
applicable.
Actually, what ATLAS upstream intends is for the program to be recompiled on
every installation (or boot, even). I think we used to have packages that
did that; this is a compromise.
--
Matthew Miller ☁☁☁ Fedora Cloud Architect ☁☁☁ <mattdm(a)fedoraproject.org>