mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-29 05:17:59 +00:00
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 <ryan.lee@canonical.com> (cherry picked from commit 01435aaaa3a7da21b43317e06d7b28251adae02b) Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
parent
ac0d740110
commit
b0ccb9bdf1
2
Makefile
2
Makefile
@ -59,7 +59,7 @@ coverity: snapshot
|
|||||||
mv $(COVERITY_DIR)/build-log.txt $(COVERITY_DIR)/build-log-python-$(subst /,.,$(dir)).txt ;)
|
mv $(COVERITY_DIR)/build-log.txt $(COVERITY_DIR)/build-log-python-$(subst /,.,$(dir)).txt ;)
|
||||||
cov-build --dir $(COVERITY_DIR) -- sh -c \
|
cov-build --dir $(COVERITY_DIR) -- sh -c \
|
||||||
"$(foreach dir, $(filter-out utils profiles tests, $(DIRS)), \
|
"$(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)
|
tar -cvzf $(SNAPSHOT_NAME)-$(COVERITY_DIR).tar.gz $(COVERITY_DIR)
|
||||||
|
|
||||||
.PHONY: export_dir
|
.PHONY: export_dir
|
||||||
|
Loading…
x
Reference in New Issue
Block a user