Martin L Roth has submitted this change. ( https://review.coreboot.org/c/coreboot/+/77452?usp=email )
Change subject: docs: Build in parallel ......................................................................
docs: Build in parallel
Use all available cores to speed up building the documentation. As $(SPHINXOPTS) has no default in `Makefile.sphinx`, we can communicate it to all sub-makes via `export`.
Change-Id: I25996f17348505722f3489a15a975de620331b5a Signed-off-by: Simon Glass sjg@chromium.org Signed-off-by: Nico Huber nico.h@gmx.de Original-reviewed-on: https://review.coreboot.org/c/coreboot/+/77363 Reviewed-on: https://review.coreboot.org/c/coreboot/+/77452 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Martin L Roth gaumless@gmail.com --- M Documentation/Makefile 1 file changed, 4 insertions(+), 1 deletion(-)
Approvals: Martin L Roth: Looks good to me, approved build bot (Jenkins): Verified
diff --git a/Documentation/Makefile b/Documentation/Makefile index 54306a2..4d08c93 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -6,6 +6,9 @@
PDFLATEX = pdflatex -t a4 BUILDDIR ?= _build +SPHINXOPTS ?= -j auto + +export SPHINXOPTS
FIGS=codeflow.pdf hypertransport.pdf
@@ -57,7 +60,7 @@ rm -f corebootPortingGuide.pdf
livesphinx: $(BUILDDIR) - $(MAKE) -f Makefile.sphinx livehtml SPHINXOPTS="$(SPHINXOPTS)" BUILDDIR="$(BUILDDIR)" + $(MAKE) -f Makefile.sphinx livehtml BUILDDIR="$(BUILDDIR)"
test: @echo "Test for logging purposes - Failing tests will not fail the build"