libvirt has a -j bug. This is allegedly going to be fixed in upstream
RSN ? Anyway, for now, serialise all the builds on other branches so
they are not affected.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
if [ "x$REVISION_LIBVIRT" != xdisable ]; then
+ libvirt_build_runvars=''
+ case "$branch" in
+ libvirt*) ;;
+ *) libvirt_build_runvars+=" make_njobs=1";;
+ esac
+
job_create_build build-$arch-libvirt build-libvirt \
arch=$arch \
tree_xen=$TREE_XEN \
$RUNVARS $BUILD_RUNVARS $BUILD_LIBVIRT_RUNVARS $arch_runvars \
- $hostos_runvars \
+ $hostos_runvars $libvirt_build_runvars \
host_hostflags=$build_hostflags \
buildjob=${bfi}build-$arch \
tree_libvirt=$TREE_LIBVIRT revision_libvirt=$REVISION_LIBVIRT\