8000 MNT use a single job by default with sphinx build by adrinjalali · Pull Request #25836 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

MNT use a single job by default with sphinx build #25836

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

Merged
merged 2 commits into from
Mar 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions build_tools/circle/build_doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,6 @@ ccache -s

export OMP_NUM_THREADS=1

# Avoid CI job getting killed because it uses too much memory
if [[ -z $SPHINX_NUMJOBS ]]; then
export SPHINX_NUMJOBS=2
fi

if [[ "$CIRCLE_BRANCH" =~ ^main$ && -z "$CI_PULL_REQUEST" ]]
then
# List available documentation versions if on main
Expand Down
8 changes: 2 additions & 6 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@ SPHINXBUILD ?= sphinx-build
PAPER =
BUILDDIR = _build

# Disable multiple jobs on OSX
ifeq ($(shell uname), Darwin)
SPHINX_NUMJOBS ?= 1
else
SPHINX_NUMJOBS ?= auto
endif
# Run sequential by default, unless SPHINX_NUMJOBS is set.
SPHINX_NUMJOBS ?= 1

ifneq ($(EXAMPLES_PATTERN),)
EXAMPLES_PATTERN_OPTS := -D sphinx_gallery_conf.filename_pattern="$(EXAMPLES_PATTERN)"
Expand Down
0