On Monday, February 23, 2015 at 3:34:08 PM UTC+1, Dima Pasechnik wrote: > > On 2015-02-23, Julien Puydt <julien...@laposte.net <javascript:>> 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' > I agree with Volker, just put one thing here. I would say: arch='ARMv6' for base (and arch="ARMv7" for fast if you want to enable a "fast" configuration). It would also be good to put ISA="" (don't remember the var name or syntax) to explicitely disable isa extensions for the base configuration. I would have to think more to remember what to put for the fast configuration.
> > 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? > I'd say no. If you really want soft floats, then you're on your own. Same same if you want to build on something < armv6. -- 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.