lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 13 Mar 2023 19:56:51 +0100
From:   Bastian Germann <bage@...utronix.de>
To:     Masahiro Yamada <masahiroy@...nel.org>
Cc:     Nathan Chancellor <nathan@...nel.org>,
        Nick Desaulniers <ndesaulniers@...gle.com>,
        linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] kbuild: deb-pkg: Allow parallel build

Am 13.03.23 um 18:59 schrieb Masahiro Yamada:
> On Tue, Mar 14, 2023 at 2:10 AM Bastian Germann <bage@...utronix.de> wrote:
>>
>> Currently, the only way to build the deb-pkg generated package parallely
>> is adding -jN to the MAKEFLAGS environment variable. The package ignores
>> the usual parallel build option that is described in Debian Policy §4.9.1.
> 
> 
> 
> "dpkg-buildpackage -b -j16" worked for me.

This ends up in DEB_BUILD_OPTIONS=parallel=16 being set and the call:
/usr/bin/make -f ./Makefile ARCH=x86 	KERNELRELEASE=6.3.0-rc2 KBUILD_BUILD_VERSION=1 	olddefconfig all

So it is not used to run the actual build, just the top level `make -f debian/rules` invocation.
You can set --jobs-force=16, which ends up in MAKEFLAGS but the point of the patch is that one can use
the usual way of parallelizing.

Side note: Without the patch, the build is run with -j1 regardless of being called from the Linux Makefile
or dpkg-buildpackage.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ