-
-
Notifications
You must be signed in to change notification settings - Fork 26k
MNT Removes parallel sphinx build by default #23492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
build_tools/circle/build_doc.sh
Outdated
@@ -130,7 +130,7 @@ else | |||
make_args=html | |||
fi | |||
|
|||
make_args="SPHINXOPTS=-T $make_args" # show full traceback on exception | |||
make_args="SPHINXOPTS=-j2 $make_args" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The -T
is already configured by default in the Makefile:
Lines 16 to 17 in effdd6e
ALLSPHINXOPTS = -T -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS)\ | |
$(EXAMPLES_PATTERN_OPTS) . |
It seems like you have some changes from the CircleCI hosting PR 😉 Out of curiosity, you see the full build freeze on your machine when running the examples? |
57d92b6
to
437012e
Compare
It freezes it without building the examples. Specifically it freezes on "waiting for workers..." after "reading sources..."
Note we saw this during a debug session with a contributor during a contributor meeting. |
I tried to run
It does seem like |
I think it's important to keep build times low by default. With |
Thanks! I'll wait a bit and merge if noone complaints. In an ideal world, somebody would try to reproduce and report to sphinx but this is definitely low-priority ... |
Nobody complained, so merging this one! |
Sphinx building in parallel was disabled for versions < 4.4. With sphinx>4.4, it was re-enabled, but it leads to the build freezing.
This PR removes
-j auto
and enables it only on the CI for doc building.