Skip to content

Commit 29b24bc

Browse files
authored
Merge pull request #4030 from Divinesoumyadip/fix/macos-nproc-dependencyinstaller
setup: fix macOS thread count using hw.logicalcpu instead of hw.ncpu
2 parents 403560b + b02a2c3 commit 29b24bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎etc/DependencyInstaller.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fi
1212
# package versions
1313
klayoutVersion=0.30.3
1414
if [[ "$OSTYPE" == "darwin"* ]]; then
15-
numThreads=$(sysctl -n hw.ncpu)
15+
numThreads=$(sysctl -n hw.logicalcpu)
1616
else
1717
numThreads=$(nproc)
1818
fi

0 commit comments

Comments
 (0)