From 309a4382c9267d48fd9d57d0d5372f96c143474c Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sun, 22 Sep 2019 18:55:00 +0200 Subject: [PATCH] Default to parallel builds in Sphinx for faster builds `-j auto` detects the number of CPU threads automatically. This partially addresses #2779. --- Makefile | 2 +- make.bat | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2315518c..121cfd21 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ # # You can set these variables from the command line. -SPHINXOPTS = +SPHINXOPTS = -j auto SPHINXBUILD = sphinx-build PAPER = BUILDDIR = _build diff --git a/make.bat b/make.bat index c1e71af1..a0112c17 100644 --- a/make.bat +++ b/make.bat @@ -10,6 +10,7 @@ if "%SPHINXBUILD%" == "" ( set SOURCEDIR=. set BUILDDIR=_build set SPHINXPROJ=Test +set SPHINXOPTS=-j auto if "%1" == "" goto help