mirror of
https://github.com/YunoHost/vinaigrette.git
synced 2024-09-03 20:06:11 +02:00
Disable parallel building that seems to make some build crash for some reason
This commit is contained in:
parent
3aa414836b
commit
3b1f9ddb4c
1 changed files with 10 additions and 7 deletions
|
@ -22,19 +22,20 @@ elif [[ $arch == all ]]; then
|
||||||
DEBBUILDOPTS="-b"
|
DEBBUILDOPTS="-b"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Retrieve the number of processors
|
## Retrieve the number of processors for parallel building
|
||||||
if [ -x /usr/bin/getconf ]; then
|
## N.B. : disabled by Alex on Feb 12 2020 because this makes some build fail on buster for some reason...
|
||||||
JOBS=`getconf _NPROCESSORS_CONF`
|
#if [ -x /usr/bin/getconf ]; then
|
||||||
else
|
# JOBS=`getconf _NPROCESSORS_CONF`
|
||||||
JOBS=1
|
#else
|
||||||
fi
|
# JOBS=1
|
||||||
|
#fi
|
||||||
|
#DEBBUILDOPTS="$DEBBUILDOPTS -j$JOBS"
|
||||||
|
|
||||||
echo "######################"
|
echo "######################"
|
||||||
echo " Starting build ... "
|
echo " Starting build ... "
|
||||||
echo "######################"
|
echo "######################"
|
||||||
|
|
||||||
# Format needed pbuilder arguments
|
# Format needed pbuilder arguments
|
||||||
DEBBUILDOPTS="$DEBBUILDOPTS -j$JOBS"
|
|
||||||
DSC_FILE="${package}_${version}.dsc"
|
DSC_FILE="${package}_${version}.dsc"
|
||||||
BASE_TGZ="${PBUILDER_IMAGES}/${codename}-${arch}.tgz"
|
BASE_TGZ="${PBUILDER_IMAGES}/${codename}-${arch}.tgz"
|
||||||
EXTRA_OPTS=()
|
EXTRA_OPTS=()
|
||||||
|
@ -61,6 +62,8 @@ then
|
||||||
CONFIGFILE="--configfile $PBUILDER_CONF/arm64.conf"
|
CONFIGFILE="--configfile $PBUILDER_CONF/arm64.conf"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "Running 'pbuilder build --basetgz "${BASE_TGZ}" --debbuildopts "${DEBBUILDOPTS}" ${CONFIGFILE} "${EXTRA_OPTS[@]}" $DSC_FILE"
|
||||||
|
|
||||||
pbuilder build \
|
pbuilder build \
|
||||||
--basetgz "${BASE_TGZ}" \
|
--basetgz "${BASE_TGZ}" \
|
||||||
--debbuildopts "${DEBBUILDOPTS}" \
|
--debbuildopts "${DEBBUILDOPTS}" \
|
||||||
|
|
Loading…
Reference in a new issue