[PATCH 01/11] doc: Build documentation in parallel

Quentin Schulz quentin.schulz at theobroma-systems.com
Thu Aug 11 16:17:04 CEST 2022


Hi Simon,

On 8/11/22 16:04, Simon Glass wrote:
> With the addition of the revision stats this now takes over a minute. Use
> a parallel build to reduce it a bit (24 seconds for me).
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> 
>   doc/Makefile | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/doc/Makefile b/doc/Makefile
> index 050d9dd2391..008a516cb64 100644
> --- a/doc/Makefile
> +++ b/doc/Makefile
> @@ -57,6 +57,7 @@ quiet_cmd_sphinx = SPHINX  $@ --> file://$(abspath $(BUILDDIR)/$3/$4)
>   	BUILDDIR=$(abspath $(BUILDDIR)) SPHINX_CONF=$(abspath $(srctree)/$(src)/$5/$(SPHINX_CONF)) \
>   	$(SPHINXBUILD) \
>   	-b $2 \
> +	-j $(shell nproc) \

Nitpick:

-j auto
does the same since Sphinx 1.7 and saves a shell call.

Cheers,
Quentin


More information about the U-Boot mailing list