summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f260541)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113393
91177308-0d34-0410-b5e6-
96231b3b80d8
do_64bit="yes"
BuildDir="`pwd`"
do_64bit="yes"
BuildDir="`pwd`"
-# Figure out how many make processes to run.
-NumJobs=`sysctl -n hw.activecpu 2> /dev/null || true`
-if [ -z "$NumJobs" ]; then
- NumJobs=`sysctl -n hw.ncpu 2> /dev/null || true`
-fi
-if [ -z "$NumJobs" ]; then
- NumJobs=`grep -c processor /proc/cpuinfo 2> /dev/null || true`
-fi
-
function usage() {
echo "usage: `basename $0` -release X.Y -rc NUM [OPTIONS]"
echo ""
function usage() {
echo "usage: `basename $0` -release X.Y -rc NUM [OPTIONS]"
echo ""
+# Figure out how many make processes to run.
+if [ -z "$NumJobs" ]; then
+ NumJobs=`sysctl -n hw.activecpu 2> /dev/null || true`
+fi
+if [ -z "$NumJobs" ]; then
+ NumJobs=`sysctl -n hw.ncpu 2> /dev/null || true`
+fi
+if [ -z "$NumJobs" ]; then
+ NumJobs=`grep -c processor /proc/cpuinfo 2> /dev/null || true`
+fi
if [ -z "$NumJobs" ]; then
NumJobs=3
fi
if [ -z "$NumJobs" ]; then
NumJobs=3
fi