Browse Source

Remove parallel building

Parallel building is not working reliable with errors, I just had a
problem were the script run successfully but should have failed.
Let's be on the safe side...

Change-Id: I9ebebf33e2da0e71325b229c2261a22b07a06574
changes/22/292922/1
Andreas Jaeger 5 years ago
parent
commit
2530250a79
1 changed files with 2 additions and 8 deletions
  1. +2
    -8
      bin/doc-tools-build-rst

+ 2
- 8
bin/doc-tools-build-rst View File

@ -32,12 +32,6 @@ TAG_OPT=""
BUILD=""
LINKCHECK=""
if [ -x "$(command -v getconf)" ]; then
NUMBER_OF_CORES=$(getconf _NPROCESSORS_ONLN)
else
NUMBER_OF_CORES=2
fi
while [[ $# > 0 ]] ; do
option="$1"
case $option in
@ -97,13 +91,13 @@ fi
if [ "$LINKCHECK" = "1" ] ; then
# Show sphinx-build invocation for easy reproduction
set -x
sphinx-build -j $NUMBER_OF_CORES -E -W -d $DOCTREES -b linkcheck \
sphinx-build -E -W -d $DOCTREES -b linkcheck \
$TAG_OPT $DIRECTORY/source $BUILD_DIR
set +x
else
# Show sphinx-build invocation for easy reproduction
set -x
sphinx-build -j $NUMBER_OF_CORES -E -W -d $DOCTREES -b html \
sphinx-build -E -W -d $DOCTREES -b html \
$TAG_OPT $DIRECTORY/source $BUILD_DIR
set +x


Loading…
Cancel
Save