From 01435aaaa3a7da21b43317e06d7b28251adae02b Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Fri, 18 Oct 2024 13:15:18 -0700 Subject: [PATCH] Pass -j flag for cov-build as well This is separated out because I have no way of testing this Signed-off-by: Ryan Lee --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4453500ec..ec570bb34 100644 --- a/Makefile +++ b/Makefile @@ -59,7 +59,7 @@ coverity: snapshot mv $(COVERITY_DIR)/build-log.txt $(COVERITY_DIR)/build-log-python-$(subst /,.,$(dir)).txt ;) cov-build --dir $(COVERITY_DIR) -- sh -c \ "$(foreach dir, $(filter-out utils profiles tests, $(DIRS)), \ - $(MAKE) -C $(SNAPSHOT_NAME)/$(dir);) " + $(MAKE) -j $$(nproc) -C $(SNAPSHOT_NAME)/$(dir);) " tar -cvzf $(SNAPSHOT_NAME)-$(COVERITY_DIR).tar.gz $(COVERITY_DIR) .PHONY: export_dir