]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
sphinx: stop using parallel mode
authorMartin Liska <mliska@suse.cz>
Fri, 11 Nov 2022 12:32:01 +0000 (13:32 +0100)
committerMartin Liska <mliska@suse.cz>
Fri, 11 Nov 2022 12:32:01 +0000 (13:32 +0100)
Noticed that the documentation build can stuck on a machine with
many cores (160) and I identified a real sphinx problem:
https://github.com/sphinx-doc/sphinx/issues/10969

Note the parallel can help just for some manuals and it is not critical
for us.

ChangeLog:

* doc/Makefile: Disable -j auto.

doc/Makefile

index 9e305a8e7da557648f49f0282a93f2566a423cbc..e08a43ecf2d6b5b0bbf5c640aecf59b6cbad23f5 100644 (file)
@@ -2,7 +2,11 @@
 #
 
 # You can set these variables from the command line.
-SPHINXOPTS   ?= -j auto -q
+
+# Disable parallel reading as it can be very slow on a machine with CPUs:
+# https://github.com/sphinx-doc/sphinx/issues/10969
+
+SPHINXOPTS   ?= -q
 SPHINXBUILD  ?= sphinx-build
 PAPER        ?=
 SOURCEDIR     = .