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
1 changed files with 1 additions and 1 deletions

View File

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