build: parallel $numcpus instead of hardcoding 4
This commit is contained in:
parent
662496c214
commit
5b98cd36cd
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -eu
|
||||
THREADS=4
|
||||
THREADS=$(cat /proc/cpuinfo | grep '^processor' | wc -l)
|
||||
|
||||
buildsite() {
|
||||
|
||||
|
|
Reference in New Issue