From: Michael Tremer Date: Thu, 6 Aug 2020 18:13:58 +0000 (+0000) Subject: cmake: Do not limit compile processes to only two X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=50f77459a702dd731a4151766a2e3789ae894cee cmake: Do not limit compile processes to only two We can launch more when we have the memory for it Signed-off-by: Michael Tremer --- diff --git a/lfs/cmake b/lfs/cmake index 5ad5ebb70d..5b98644db2 100644 --- a/lfs/cmake +++ b/lfs/cmake @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) -MAKETUNING = -j2 +MAX_PARALLELISM = $(shell echo $$(( $(SYSTEM_MEMORY) / 512))) ############################################################################### # Top-level Rules