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"
|
||||
fi
|
||||
|
||||
# Retrieve the number of processors
|
||||
if [ -x /usr/bin/getconf ]; then
|
||||
JOBS=`getconf _NPROCESSORS_CONF`
|
||||
else
|
||||
JOBS=1
|
||||
fi
|
||||
## Retrieve the number of processors for parallel building
|
||||
## N.B. : disabled by Alex on Feb 12 2020 because this makes some build fail on buster for some reason...
|
||||
#if [ -x /usr/bin/getconf ]; then
|
||||
# JOBS=`getconf _NPROCESSORS_CONF`
|
||||
#else
|
||||
# JOBS=1
|
||||
#fi
|
||||
#DEBBUILDOPTS="$DEBBUILDOPTS -j$JOBS"
|
||||
|
||||
echo "######################"
|
||||
echo " Starting build ... "
|
||||
echo "######################"
|
||||
|
||||
# Format needed pbuilder arguments
|
||||
DEBBUILDOPTS="$DEBBUILDOPTS -j$JOBS"
|
||||
DSC_FILE="${package}_${version}.dsc"
|
||||
BASE_TGZ="${PBUILDER_IMAGES}/${codename}-${arch}.tgz"
|
||||
EXTRA_OPTS=()
|
||||
|
@ -61,6 +62,8 @@ then
|
|||
CONFIGFILE="--configfile $PBUILDER_CONF/arm64.conf"
|
||||
fi
|
||||
|
||||
echo "Running 'pbuilder build --basetgz "${BASE_TGZ}" --debbuildopts "${DEBBUILDOPTS}" ${CONFIGFILE} "${EXTRA_OPTS[@]}" $DSC_FILE"
|
||||
|
||||
pbuilder build \
|
||||
--basetgz "${BASE_TGZ}" \
|
||||
--debbuildopts "${DEBBUILDOPTS}" \
|
||||
|
|
Loading…
Reference in a new issue