File: disable-parallel-sphinx.patch

package info (click to toggle)
dpdk 22.11.9-1~deb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 103,496 kB
  • sloc: ansic: 1,826,658; python: 4,473; sh: 4,351; makefile: 2,001; awk: 53
file content (20 lines) | stat: -rw-r--r-- 895 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: parallelism breaks order and thereby reprotest
 reprotest will flag searchindex.js which only differs in order
 of the generated list elements.
Forwarded: http://mails.dpdk.org/archives/dev/2023-June/272107.html
Author: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Last-Update: 2023-06-28
--- a/buildtools/call-sphinx-build.py
+++ b/buildtools/call-sphinx-build.py
@@ -19,8 +19,9 @@ os.environ['DPDK_VERSION'] = version
 ver = run([sphinx, '--version'], stdout=PIPE,
           stderr=STDOUT).stdout.decode().split()[-1]
 sphinx_cmd = [sphinx] + extra_args
-if Version(ver) >= Version('1.7'):
-    sphinx_cmd += ['-j', 'auto']
+# Debian: parallelism breaks order in searchindex.js and thereby reprotest
+# if Version(ver) >= Version('1.7'):
+#     sphinx_cmd += ['-j', 'auto']
 
 # find all the files sphinx will process so we can write them as dependencies
 srcfiles = []