Skip to content

Commit

Permalink
build: Disable parallel builds for now.
Browse files Browse the repository at this point in the history
The sphinx-reredirect extension does not declare it self safe or unsafe for
parallel execution which leads to sphinx generating a warning when we build
for testing.

For now remove the parallel execution to get rid of the warning.

Longer Term: I've made a Merge request against the extension to fix the issue.

https://gitlab.com/documatt/sphinx-reredirects/-/merge_requests/10

and I've created #2107 to
track the issue so it doesn't get lost.

In the mean time, turning off the parallel builds doesn't seem to significantly
slow down the builds, a clean build from scratch without parallelization took less
than 6 minutes.
  • Loading branch information
feanil committed Feb 10, 2023
1 parent 99f8f2d commit cf90b90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ for project in "${projects[@]}"; do
# -w writes warnings and errors to the specified file in
# addition to stderr.
# -n runs in nit-picky mode.
make html SPHINXOPTS="-j4 -n -w $err_log_file"
make html SPHINXOPTS="-w $err_log_file"

if [ $? -gt 0 ]; then
project_build_status=1
Expand Down

0 comments on commit cf90b90

Please sign in to comment.