regression hunt setup using Subversion

2005-10-21 Thread Janis Johnson
*** Warning: Your file, reghunt.20051020.tar.bz2, contains more than 32 files after decompression and cannot be scanned. *** Here's my current regression hunt setup using Subversion in case anyone would like to try it out. I plan to update contrib

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]

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

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 customise, rather

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 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 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 :-(