build: parallel $numcpus instead of hardcoding 4

This commit is contained in:
mappu 2016-04-18 18:41:16 +12:00
parent 662496c214
commit 5b98cd36cd

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
set -eu set -eu
THREADS=4 THREADS=$(cat /proc/cpuinfo | grep '^processor' | wc -l)
buildsite() { buildsite() {