Default to parallel builds in Sphinx for faster builds

`-j auto` detects the number of CPU threads automatically.

This partially addresses #2779.
This commit is contained in:
Hugo Locurcio 2019-09-22 18:55:00 +02:00
parent 247ba2144c
commit 309a4382c9
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
2 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXOPTS = -j auto
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build

View File

@ -10,6 +10,7 @@ if "%SPHINXBUILD%" == "" (
set SOURCEDIR=.
set BUILDDIR=_build
set SPHINXPROJ=Test
set SPHINXOPTS=-j auto
if "%1" == "" goto help