8000 MNT use a single job by default with sphinx build (#25836) · scikit-learn/scikit-learn@683028f · GitHub
[go: up one dir, main page]

Skip to content

Commit 683028f

Browse files
authored
MNT use a single job by default with sphinx build (#25836)
1 parent b75ecb2 commit 683028f

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

build_tools/circle/build_doc.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,6 @@ ccache -s
189189

190190
export OMP_NUM_THREADS=1
191191

192-
# Avoid CI job getting killed because it uses too much memory
193-
if [[ -z $SPHINX_NUMJOBS ]]; then
194-
export SPHINX_NUMJOBS=2
195-
fi
196-
197192
if [[ "$CIRCLE_BRANCH" =~ ^main$ && -z "$CI_PULL_REQUEST" ]]
198193
then
199194
# List available documentation versions if on main

doc/Makefile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,8 @@ SPHINXBUILD ?= sphinx-build
77
PAPER =
88
BUILDDIR = _build
99

10-
# Disable multiple jobs on OSX
11-
ifeq ($(shell uname), Darwin)
12-
SPHINX_NUMJOBS ?= 1
13-
else
14-
SPHINX_NUMJOBS ?= auto
15-
endif
10+
# Run sequential by default, unless SPHINX_NUMJOBS is set.
11+
SPHINX_NUMJOBS ?= 1
1612

1713
ifneq ($(EXAMPLES_PATTERN),)
1814
EXAMPLES_PATTERN_OPTS := -D sphinx_gallery_conf.filename_pattern="$(EXAMPLES_PATTERN)"

0 commit comments

Comments
 (0)
0