Re: regression hunt setup using Subversion

2005-10-21 Thread Mike Stump
On Oct 21, 2005, at 4:11 PM, Andreas Schwab wrote: Shantonu Sen <[EMAIL PROTECTED]> writes: Or "getconf _NPROCESSORS_ONLN" (the POSIX way). On darwin: $ getconf _NPROCESSORS_ONLN undefined :-(

Re: regression hunt setup using Subversion

2005-10-21 Thread Andreas Schwab
Shantonu Sen <[EMAIL PROTECTED]> writes: > if sysctl is present in the path, "sysctl hw.ncpu" might be useful as > well. Seems to work on FreeBSD and Darwin, assuming you don't require > granularity of whether those CPUs are HTT or not. Or "getconf _NPROCESSORS_ONLN" (the POSIX way). Andreas

Re: regression hunt setup using Subversion

2005-10-21 Thread Shantonu Sen
if sysctl is present in the path, "sysctl hw.ncpu" might be useful as well. Seems to work on FreeBSD and Darwin, assuming you don't require granularity of whether those CPUs are HTT or not. Shantonu On Oct 21, 2005, at 12:27 PM, Janis Johnson wrote: On Fri, Oct 21, 2005 at 03:14:47PM -0400

Re: regression hunt setup using Subversion

2005-10-21 Thread Janis Johnson
On Fri, Oct 21, 2005 at 03:14:47PM -0400, Andrew Pinski wrote: > > On Oct 21, 2005, at 3:11 PM, Joseph S. Myers wrote: > > >The use of > > > >ncpu=`grep '^processor' /proc/cpuinfo | wc -l` > > > >seems Linux-specific; this looks like it should be in gcc-svn-env as a > >default for the user to cus

Re: regression hunt setup using Subversion

2005-10-21 Thread Andrew Pinski
On Oct 21, 2005, at 3:11 PM, Joseph S. Myers wrote: The use of ncpu=`grep '^processor' /proc/cpuinfo | wc -l` seems Linux-specific; this looks like it should be in gcc-svn-env as a default for the user to customise, rather than in bin/gcc-build-*. I don't think it is Linux specific, it wor

Re: regression hunt setup using Subversion

2005-10-21 Thread Joseph S. Myers
The use of ncpu=`grep '^processor' /proc/cpuinfo | wc -l` seems Linux-specific; this looks like it should be in gcc-svn-env as a default for the user to customise, rather than in bin/gcc-build-*. -- Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/ [EMAIL PROTECTED] (perso