chore: use max 4 cores for parallel execution

This commit is contained in:
jo 2022-08-09 15:00:30 +02:00 committed by Kyle Robbertze
parent dc30d8836b
commit d917ae1da8
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
.DEFAULT_GOAL = install
SHELL = bash
CPU_CORES = $(shell nproc)
CPU_CORES = $$(( $(shell nproc) > 4 ? 4 : $(shell nproc) ))
# PIP_INSTALL = --editable .
# PYLINT_ARG =