Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Carlisle <carlisle.b3d@gmail.com>2020-10-07 17:25:06 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2020-10-07 17:25:46 +0300
commit2f1a0f6f0eabe090d3ea95c4f508ef72454369a2 (patch)
tree0dc806cbe09985b6c555b7212c2b23087d83abc7 /GNUmakefile
parente748abda92cf71852db29150f4f2524e3a17b156 (diff)
PyDoc: Multithread sphinx-build
Compile times went from over 5min to under 2 on my laptop.
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index e4b5f3b99dc..660493b5945 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -517,7 +517,7 @@ doc_py: .FORCE
ASAN_OPTIONS=halt_on_error=0 \
$(BLENDER_BIN) --background -noaudio --factory-startup \
--python doc/python_api/sphinx_doc_gen.py
- sphinx-build -b html doc/python_api/sphinx-in doc/python_api/sphinx-out
+ sphinx-build -b html -j $(NPROCS) doc/python_api/sphinx-in doc/python_api/sphinx-out
@echo "docs written into: '$(BLENDER_DIR)/doc/python_api/sphinx-out/index.html'"
doc_doxy: .FORCE