Hi Magnus, On Mon, 2019-02-18 at 13:59 +0100, Magnus Holmgren wrote: > Package: python-mini-buildd > Version: 1.0.36~bpo9+1 > > The Change daemon page states about the Sbuild jobs option: "Degree of > parallelism per build (via sbuild's '--jobs' option)." but the option is only > passed via the DEB_BUILD_OPTIONS variable, not --jobs, meaning that no -j > option will be added to the dpkg-buildpackage command line nor MAKEFLAGS. > Packages using dh with --parallel or compat >= 10 will automatically use the > parallel option in DEB_BUILD_OPTIONS, but not other packages that don't parse > DEB_BUILD_OPTIONS by hand. > > Perhaps it's actually not desirable to always set -j in MAKEFLAGS but in that > case the documentation should be changed to match reality.
hmm yes, you are completely right. And also I think --jobs is the better choice here. I did some research ;), and it seems I changed it from --jobs to env back in 2013 due to <=etch compatibility issues: commit 355893eb0202f507246569a0b922e89474f27369 Author: Stephan Sürken <abs...@debian.org> Date: Thu Jan 3 17:02:26 2013 +0100 builder: Use env. DEB_BUILD_OPTIONS='parallel=N' instead of 'd-p -jN' (Fixes: Builds for <= etch). Will fix the doc in stable (1.0.x), and switch to '--jobs' again in current development. Thanks! Stephan