fix the paddle script causes 'command not found' error'

revert-12469-sum_op_dim_fix
JiabinYang 7 years ago
parent 3185d38af4
commit 4af5d3e3d3

@ -54,7 +54,7 @@ function cpu_config() {
if [ $platform == "Linux" ]; then
ht=`lscpu |grep "per core"|awk -F':' '{print $2}'|xargs`
elif [ $platform == "Darwin" ]; then
if [`sysctl -n hw.physicalcpu` -eq `sysctl -n hw.logicalcpu`]; then
if [ `sysctl -n hw.physicalcpu` -eq `sysctl -n hw.logicalcpu` ]; then
# HT is OFF
ht=1
fi

Loading…
Cancel
Save