for Max: hw.ncpu --> hw.physicalcpu
This commit is contained in:
parent
5f47b1e44a
commit
5891662bc3
2 changed files with 2 additions and 2 deletions
|
@ -150,7 +150,7 @@ then
|
|||
;;
|
||||
|
||||
Darwin)
|
||||
export WM_NCOMPPROCS=`sysctl -n hw.ncpu`
|
||||
export WM_NCOMPPROCS=`sysctl -n hw.physicalcpu`
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
|
|
@ -141,7 +141,7 @@ if ( ! $?WM_NCOMPPROCS ) then
|
|||
breaksw
|
||||
|
||||
case Darwin:
|
||||
setenv WM_NCOMPPROCS `sysctl -n hw.ncpu`
|
||||
setenv WM_NCOMPPROCS `sysctl -n hw.physicalcpu`
|
||||
breaksw
|
||||
|
||||
endsw
|
||||
|
|
Reference in a new issue