summaryrefslogtreecommitdiffstats
path: root/lldb/scripts
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2013-11-19 23:59:38 +0000
committerSean Callanan <scallanan@apple.com>2013-11-19 23:59:38 +0000
commit51f3d073133f81d44a182a4eccde43b46d7432f4 (patch)
tree80d9595008f58319b351e7a98200a8dff84bbf65 /lldb/scripts
parentc1fd0dd419ae07ece84baaeee78728d0d1c09e9d (diff)
downloadbcm5719-llvm-51f3d073133f81d44a182a4eccde43b46d7432f4.tar.gz
bcm5719-llvm-51f3d073133f81d44a182a4eccde43b46d7432f4.zip
Updated build-llvm to use a more generic ioctl
to determine the number of available processors. llvm-svn: 195172
Diffstat (limited to 'lldb/scripts')
-rw-r--r--lldb/scripts/build-llvm.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/scripts/build-llvm.pl b/lldb/scripts/build-llvm.pl
index 902f693064a..8b7fa052a86 100644
--- a/lldb/scripts/build-llvm.pl
+++ b/lldb/scripts/build-llvm.pl
@@ -145,7 +145,7 @@ our $debug = 1;
sub parallel_guess
{
- my $cpus = `sysctl -n hw.availcpu`;
+ my $cpus = `sysctl -n hw.ncpu`;
chomp ($cpus);
my $memsize = `sysctl -n hw.memsize`;
chomp ($memsize);
OpenPOWER on IntegriCloud