diff --git a/plugins/python-build/bin/python-build b/plugins/python-build/bin/python-build index f47c1e89..449c63e1 100755 --- a/plugins/python-build/bin/python-build +++ b/plugins/python-build/bin/python-build @@ -155,6 +155,9 @@ num_cpu_cores() { Darwin | *BSD ) num="$(sysctl -n hw.ncpu 2>/dev/null || true)" ;; + SunOS ) + num="$(getconf NPROCESSORS_ONLN 2>/dev/null || true)" + ;; * ) num="$({ getconf _NPROCESSORS_ONLN || grep -c ^processor /proc/cpuinfo; } 2>/dev/null)"