File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -33,19 +33,14 @@ function (sphinx_build_html target_name doc_dir)
33
33
list (APPEND doc_htmls ${html} )
34
34
endforeach ()
35
35
36
- # Speed things up with parallel Sphinx builders:
37
- include (ProcessorCount )
38
- ProcessorCount (jobs )
39
- math (EXPR jobs "${jobs} + 2" )
40
-
41
36
# Set PYTHONDONTWRITEBYTECODE to prevent .pyc clutter in the source directory
42
37
add_custom_command (OUTPUT ${doc_htmls}
43
38
${SPHINX_HTML_DIR} /.nojekyll ${SPHINX_HTML_DIR} /objects.inv
44
39
COMMAND
45
40
${CMAKE_COMMAND} -E env
46
41
"PYTHONDONTWRITEBYTECODE=1"
47
42
${SPHINX_EXECUTABLE}
48
- -qEnW -j " ${jobs} " - b html
43
+ -qEnW -b html
49
44
-c "${CMAKE_CURRENT_SOURCE_DIR} "
50
45
"${CMAKE_CURRENT_SOURCE_DIR} "
51
46
"${SPHINX_HTML_DIR} "
@@ -137,8 +132,6 @@ function (sphinx_build_man target_name)
137
132
COMMAND
138
133
${CMAKE_COMMAND} -E env
139
134
"PYTHONDONTWRITEBYTECODE=1"
140
- # No parallelism for Sphinx here, as the Man builder has trouble with it
141
- # in our Sphinx version.
142
135
${SPHINX_EXECUTABLE}
143
136
-qEW -b man
144
137
-c "${CMAKE_CURRENT_SOURCE_DIR} "
@@ -166,4 +159,3 @@ function (sphinx_build_man target_name)
166
159
set (doc_DIST_rsts ${doc_rsts} PARENT_SCOPE )
167
160
set (doc_DIST_mans ${doc_mans} PARENT_SCOPE )
168
161
endfunction ()
169
-
You can’t perform that action at this time.
0 commit comments