projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c980441
)
build: Modify build script for Darwin
author
syeon.hwang
<syeon.hwang@samsung.com>
Tue, 30 Oct 2012 06:50:16 +0000
(15:50 +0900)
committer
syeon.hwang
<syeon.hwang@samsung.com>
Tue, 30 Oct 2012 06:50:16 +0000
(15:50 +0900)
Add check routine to detect number of processor cores for darwin
Signed-off-by: syeon.hwang <syeon.hwang@samsung.com>
tizen/build.sh
patch
|
blob
|
history
diff --git
a/tizen/build.sh
b/tizen/build.sh
index 77234c5db97aa5f95c15a6435fa1850518f55fd6..981c706be31cb8da34307a274a75e2f13487e7c0 100755
(executable)
--- 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"