chore: update cpu count lookup

This commit is contained in:
jo 2022-12-07 11:14:40 +01:00 committed by Kyle Robbertze
parent f9fc920d1f
commit 1647c2e4e8
1 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
.ONESHELL: .ONESHELL:
.DEFAULT_GOAL = install .DEFAULT_GOAL := install
SHELL = bash SHELL := bash
CPU_CORES = $$(( $(shell nproc) > 4 ? 4 : $(shell nproc) )) CPU_CORES := $(shell N=$$(nproc); echo $$(( $$N > 4 ? 4 : $$N )))
# PIP_INSTALL = --editable . # PIP_INSTALL = --editable .
# PYLINT_ARG = # PYLINT_ARG =