On 2015-02-23, Julien Puydt <julien.pu...@laposte.net> wrote: > Le 23/02/2015 15:05, Julien Puydt a écrit : >> Le 23/02/2015 14:27, Julien Puydt a écrit : >>> That will take some time though : this box isn't fast. And I work on it >>> while it plays with sage. > > In fact, when an arch is given, it does compile ad nauseum so it doesn't > take that much time. > >> The box is currently toying with the following patch : >> >> diff --git a/build/pkgs/atlas/spkg-install b/build/pkgs/atlas/spkg-install >> index 2d2972e..b5c2808 100755 >> --- a/build/pkgs/atlas/spkg-install >> +++ b/build/pkgs/atlas/spkg-install >> @@ -392,6 +392,12 @@ def configure_base(): >> elif conf['IA64?']: >> print('Base configuration on Itanium.') >> arch = 'IA64Itan' >> + elif conf['ARM?']: >> + print('Base configuration on ARM.') >> + if conf['processor'] == 'armv7l': >> + arch = 'ARMv7' >> + else: >> + arch = 'ARMv6' >> else: >> raise NotImplementedError('I don\'t know a "base" >> configuration for your cpu.') >> return (arch, isa_ext, thread_limit) >> >> >> Does it look good? > > What about that one : > diff --git a/build/pkgs/atlas/spkg-install b/build/pkgs/atlas/spkg-install > index 2d2972e..7733f65 100755 > --- a/build/pkgs/atlas/spkg-install > +++ b/build/pkgs/atlas/spkg-install > @@ -392,6 +392,13 @@ def configure_base(): > elif conf['IA64?']: > print('Base configuration on Itanium.') > arch = 'IA64Itan' > + elif conf['ARM?']: > + if conf['processor'] == 'armv7l': > + print('Base configuration on ARMv7.') > + arch = 'ARMv7' > + else: > + print('Base configuration on ARMv6.') > + arch = 'ARMv6' > else: > raise NotImplementedError('I don\'t know a "base" > configuration for your cpu.') > return (arch, isa_ext, thread_limit) >
hmm, shouldn't there also be a distinction between hardware and software floats? (Although I believe ARM chips you want to run Sage on all have hardware floats - but the question is how the OS is configured). Dima -- 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 sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.