Re: nacl and CPU frequency.

2012-09-23 Thread Craig Small
On Sat, Sep 22, 2012 at 05:29:45PM +0100, peter green wrote: > I therefore conclude that if it's not returning elapsed times in true CPU > cycles it probablly doesn't matter much if the supposed CPU speed and the > real CPU speed are not exactly the same. > > As such unless someone objects I plan

Re: nacl and CPU frequency.

2012-09-23 Thread Russell Coker
On Sun, 23 Sep 2012, "Thomas Preud'homme" wrote: > Le dimanche 23 septembre 2012 01:42:01, Ben Hutchings a écrit : > > So the build process is trying to determine which method will work? > > Then what if it settles on some method that is available on the build > > machine's kernel, but not the tar

Re: nacl and CPU frequency.

2012-09-23 Thread Tollef Fog Heen
]] "Thomas Preud'homme" > If I understood correctly he is ready to patch the build system to use a > specific method for this precise reason but is asking which method would work > on all Debian system. Detect it at runtime and choose the appropriate method then? (Not that CPU frequency is co

Re: nacl and CPU frequency.

2012-09-23 Thread Thomas Preud'homme
Le dimanche 23 septembre 2012 01:42:01, Ben Hutchings a écrit : > > So the build process is trying to determine which method will work? > Then what if it settles on some method that is available on the build > machine's kernel, but not the target distribution's kernel? I think you > need to eithe

Re: nacl and CPU frequency.

2012-09-23 Thread Bastian Blank
On Sat, Sep 22, 2012 at 03:28:50PM +0100, peter green wrote: > In order to build successfully nacl needs to determine the CPU > frequency (the CPU frequency determined at build time is not used in > the final binaries afaict but if it's not determined then the build > will fail as it will consider

Re: nacl and CPU frequency.

2012-09-22 Thread Ben Hutchings
On Sat, 2012-09-22 at 17:20 +0100, peter green wrote: > Russell Coker wrote: > > On Sun, 23 Sep 2012, peter green wrote: > > > >> In order to build successfully nacl needs to determine the CPU frequency > >> (the CPU frequency determined at build time is not used in the final > >> binaries af

Re: nacl and CPU frequency.

2012-09-22 Thread Konstantin Khomoutov
On Sat, Sep 22, 2012 at 05:20:05PM +0100, peter green wrote: > >>In order to build successfully nacl needs to determine the CPU > >>frequency (the CPU frequency determined at build time is not > >>used in the final binaries afaict but if it's not determined > >>then the build will fail as it will

Re: nacl and CPU frequency.

2012-09-22 Thread peter green
On 22/09/12 15:28, peter green wrote: > I'm trying to get nacl built on more architectures in debian, in > particular I want to see it build on arm*. > > In order to build successfully nacl needs to determine the CPU frequency I think you need to analyse what it's doing with the CPU frequency,

Re: nacl and CPU frequency.

2012-09-22 Thread peter green
Russell Coker wrote: On Sun, 23 Sep 2012, peter green wrote: In order to build successfully nacl needs to determine the CPU frequency (the CPU frequency determined at build time is not used in the final binaries afaict but if it's not determined then the build will fail as it will consider

Re: nacl and CPU frequency.

2012-09-22 Thread Russell Coker
On Sun, 23 Sep 2012, peter green wrote: > In order to build successfully nacl needs to determine the CPU frequency > (the CPU frequency determined at build time is not used in the final > binaries afaict but if it's not determined then the build will fail as > it will consider the implementatio

Re: nacl and CPU frequency.

2012-09-22 Thread Colin Tuckley
On 22/09/12 15:28, peter green wrote: > I'm trying to get nacl built on more architectures in debian, in > particular I want to see it build on arm*. > > In order to build successfully nacl needs to determine the CPU frequency I think you need to analyse what it's doing with the CPU frequency, be

Re: nacl and CPU frequency.

2012-09-22 Thread David Given
On 22/09/12 15:28, peter green wrote: [...] > In order to build successfully nacl needs to determine the CPU frequency > (the CPU frequency determined at build time is not used in the final > binaries afaict but if it's not determined then the build will fail as > it will consider the implementatio

nacl and CPU frequency.

2012-09-22 Thread peter green
I'm trying to get nacl built on more architectures in debian, in particular I want to see it build on arm*. In order to build successfully nacl needs to determine the CPU frequency (the CPU frequency determined at build time is not used in the final binaries afaict but if it's not determined t