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:
parent
d1f3e659aa
commit
2530250a79
|
@ -32,12 +32,6 @@ TAG_OPT=""
|
||||||
BUILD=""
|
BUILD=""
|
||||||
LINKCHECK=""
|
LINKCHECK=""
|
||||||
|
|
||||||
if [ -x "$(command -v getconf)" ]; then
|
|
||||||
NUMBER_OF_CORES=$(getconf _NPROCESSORS_ONLN)
|
|
||||||
else
|
|
||||||
NUMBER_OF_CORES=2
|
|
||||||
fi
|
|
||||||
|
|
||||||
while [[ $# > 0 ]] ; do
|
while [[ $# > 0 ]] ; do
|
||||||
option="$1"
|
option="$1"
|
||||||
case $option in
|
case $option in
|
||||||
|
@ -97,13 +91,13 @@ fi
|
||||||
if [ "$LINKCHECK" = "1" ] ; then
|
if [ "$LINKCHECK" = "1" ] ; then
|
||||||
# Show sphinx-build invocation for easy reproduction
|
# Show sphinx-build invocation for easy reproduction
|
||||||
set -x
|
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
|
$TAG_OPT $DIRECTORY/source $BUILD_DIR
|
||||||
set +x
|
set +x
|
||||||
else
|
else
|
||||||
# Show sphinx-build invocation for easy reproduction
|
# Show sphinx-build invocation for easy reproduction
|
||||||
set -x
|
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
|
$TAG_OPT $DIRECTORY/source $BUILD_DIR
|
||||||
set +x
|
set +x
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue