From 24eeb0de4c1596e24fe2744a447f7401f9d8980a Mon Sep 17 00:00:00 2001 From: "syeon.hwang" Date: Tue, 30 Oct 2012 15:50:16 +0900 Subject: [PATCH] build: Modify build script for Darwin Add check routine to detect number of processor cores for darwin Signed-off-by: syeon.hwang --- tizen/build.sh | 3 +++ 1 file changed, 3 insertions(+) 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" -- 2.34.1