From: syeon.hwang Date: Tue, 30 Oct 2012 06:50:16 +0000 (+0900) Subject: build: Modify build script for Darwin X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~1403 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=24eeb0de4c1596e24fe2744a447f7401f9d8980a;p=sdk%2Femulator%2Fqemu.git build: Modify build script for Darwin Add check routine to detect number of processor cores for darwin Signed-off-by: syeon.hwang --- diff --git a/tizen/build.sh b/tizen/build.sh index 77234c5db9..981c706be3 100755 --- a/tizen/build.sh +++ b/tizen/build.sh @@ -11,6 +11,9 @@ Linux) MINGW*) NUMCPU=`echo $NUMBER_OF_PROCESSORS` ;; +Darwin) + NUMCPU=`sysctl hw.ncpu | awk '{print $2}'` + ;; esac echo "Number of CPUs $NUMCPU"