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