Auto merge of #116108 - onur-ozkan:support-make-jobs-flag, r=Mark-Simulacrum
Pass `-jN` from Make to `BOOTSTRAP_ARGS` Enables the same functionality as `x -jN` in Make by passing the `-jN` arg from Make to the `BOOTSTRAP_ARGS` if it is specified.
This commit is contained in:
commit
b11431edc1
@ -6,6 +6,13 @@ Q := @
|
|||||||
BOOTSTRAP_ARGS :=
|
BOOTSTRAP_ARGS :=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Pass `-jN` to the bootstrap if it is specified.
|
||||||
|
ifdef MAKEFLAGS
|
||||||
|
ifneq (,$(findstring -j, $(MAKEFLAGS)))
|
||||||
|
BOOTSTRAP_ARGS += $(filter -j%, $(MAKEFLAGS))
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
BOOTSTRAP := $(CFG_PYTHON) $(CFG_SRC_DIR)src/bootstrap/bootstrap.py
|
BOOTSTRAP := $(CFG_PYTHON) $(CFG_SRC_DIR)src/bootstrap/bootstrap.py
|
||||||
|
|
||||||
all:
|
all:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user