On Tue, 24 Dec 2013 05:04:24 -0800 (PST)
Emil Widmann <[email protected]> wrote:
...
> Additional examples what base means for the most common
> architectures would be terrific!
...
Additionally there could maybe be a reference to the code, as examples
will get outdated. In this case that would be configure_base in
atlas/spkg-install [1], which is quite legible:
def configure_base():
isa_ext = ('None',)
thread_limit = 0 # disable threading in "base"
if conf['Intel?'] and conf['64bit?']:
print 'Generic configuration on Intel x86_64 compatible CPUs.'
arch = 'x86SSE2'
isa_ext = ('SSE2', 'SSE1')
elif conf['Intel?'] and conf['32bit?']:
print 'Generic configuration on Intel i386 compatible CPUs.'
arch = 'x86x87'
elif conf['SPARC?']:
print 'Base configuration on SPARC.'
arch = 'USIII'
elif conf['PPC?']:
print 'Base configuration on PPC.'
arch = 'PPCG4'
elif conf['IA64?']:
print 'Base configuration on Itanium.'
arch = 'IA64Itan'
else:
raise NotImplementedError, 'I don\'t know a "base" configuration for
your cpu.'
return (arch, isa_ext, thread_limit)
Regards,
Erik Massop
[1]
https://github.com/sagemath/sage/blob/master/build/pkgs/atlas/spkg-install#L363
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.