Skip to content

Commit

Permalink
makefile: add CPUS support to the cs-base target
Browse files Browse the repository at this point in the history
  • Loading branch information
mflatt committed Sep 13, 2018
1 parent 9f0bc08 commit 1b703f8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,16 @@ cs-in-place:
$(MAKE) cs

cs-base:
if [ "$(CPUS)" = "" ] ; \
then $(MAKE) plain-cs-base ; \
else $(MAKE) cpus-cs-base CPUS="$(CPUS)" ; fi

plain-cs-base:
$(MAKE) cs CS_SETUP_TARGET=nothing-after-base

cpus-cs-base:
$(MAKE) -j $(CPUS) plain-cs-base JOB_OPTIONS="-j $(CPUS)"

cs-as-is:
$(MAKE) cs BASE_TARGET=plain-base CS_SETUP_TARGET=in-place-setup

Expand Down

0 comments on commit 1b703f8

Please sign in to comment.