I don't think I could find a 10.2.x box if I tried.
authorEric Christopher <echristo@apple.com>
Sat, 8 Jan 2011 01:52:20 +0000 (01:52 +0000)
committerEric Christopher <echristo@apple.com>
Sat, 8 Jan 2011 01:52:20 +0000 (01:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123051 91177308-0d34-0410-b5e6-96231b3b80d8

utils/buildit/build_llvm

index adcbb3e561bca28fc0262dd3d4f682faf6cdac3d..5e8369cdd326a1c21fea92ae319f46982bccc5cd 100755 (executable)
@@ -174,11 +174,6 @@ if [ "x$MAJ_VER" != "x4" -o "x$MIN_VER" != "x0" ]; then
     # Figure out how many make processes to run.
     SYSCTL=`sysctl -n hw.activecpu`
 
-    # hw.activecpu only available in 10.2.6 and later
-    if [ -z "$SYSCTL" ]; then
-        SYSCTL=`sysctl -n hw.ncpu`
-    fi
-
     # sysctl -n hw.* does not work when invoked via B&I chroot /BuildRoot.
     # Builders can default to 2, since even if they are single processor,
     # nothing else is running on the machine.