Skip to content

Commit 0a6adc9

Browse files
btashtonxiaoxiang781216
authored andcommitted
Tweak CPU count logic for MacOS
1 parent 00a2de7 commit 0a6adc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cibuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ function run_builds {
383383

384384
case $os in
385385
Darwin)
386-
ncpus=$(sysctl -n machdep.cpu.thread_count)
386+
ncpus=$(sysctl -n hw.ncpu)
387387
;;
388388
Linux)
389389
ncpus=`grep -c ^processor /proc/cpuinfo`

0 commit comments

Comments
 (0)