Skip to content

Commit b02a2c3

Browse files
setup: fix macOS thread count using hw.logicalcpu instead of hw.ncpu
Signed-off-by: Divinesoumyadip <soumyacode7@gmail.com>
1 parent 51ad123 commit b02a2c3

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)