Commit 400e77ae authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Count CPUs using /proc/cpuinfo.

parent aa1cd52e
......@@ -14,7 +14,7 @@ set -eux
ZIPFILE=$1
shift
CPU_COUNT=$(ls /sys/class/cpuid/ | wc -l)
CPU_COUNT=$(grep '^processor' /proc/cpuinfo | wc -l)
export GOMAXPROCS=${CPU_COUNT}
DELAY=5
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment