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

From: Masahiro Yamada
Date: Mon Apr 10 2023 - 08:27:14 EST


On Tue, Mar 21, 2023 at 7:28 PM Bastian Germann <bage@xxxxxxxxxxxxx> wrote:
>
> 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.

Yes. Agreed.



> 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.



--
Best Regards
Masahiro Yamada