Re: [PATCH v3 1/1] kbuild: deb-pkg: Build parallely with current dpkg-buildpackage

From: Bastian Germann
Date: Tue Mar 21 2023 - 06:29:02 EST


Am 21.03.23 um 11:18 schrieb Masahiro Yamada:
"make bindeb-pkg" also runs in 16 threads because
$(DEB_BUILD_OPTIONS) always contains "parallel=16"
even if -j<N> option is given at all.

In other words, this patch will take away user's freedom
to choose the number of threads.

Okay. To solve this, I would forward make's -j option to the dpkg-buildpackage calls,
which is now called with the defaults.

I think you should see the warning with older dpkg-buildpackage versions without the
patch applied as well because their default is dpkg-buildpackage -j`nproc` and is in
effect currently.