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
This commit is contained in:
Andreas Jaeger
2016-03-15 15:45:17 +01:00
parent d1f3e659aa
commit 2530250a79

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