From 2530250a79360bc1e755e4152ed9ed13c24e60b7 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 15 Mar 2016 15:45:17 +0100 Subject: [PATCH] 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 --- bin/doc-tools-build-rst | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/bin/doc-tools-build-rst b/bin/doc-tools-build-rst index 8ef14f31..9e9ba2e2 100755 --- a/bin/doc-tools-build-rst +++ b/bin/doc-tools-build-rst @@ -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