[pve-devel] [PATCH qemu 2/5] d/rules: set job flag for make based on DEB_BUILD_OPTIONS
Fiona Ebner
f.ebner at proxmox.com
Fri May 12 17:10:32 CEST 2023
Copied from Debian's QEMU package's d/rules. Otherwise, ninja will end
up using only a single job (in Debian Bookworm/Proxmox VE 8).
Suggested-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---
debian/rules | 3 +++
1 file changed, 3 insertions(+)
diff --git a/debian/rules b/debian/rules
index 33ebb69..b5df8b0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,6 +40,9 @@ endif
export CFLAGS
+# DEB_BUILD_OPTIONS=parallel=N
+MAKEFLAGS += $(subst parallel=,-j,$(filter parallel=%,${DEB_BUILD_OPTIONS}))
+
${BUILDDIR}/config.status: configure
dh_testdir
# Add here commands to configure the package.
--
2.39.2
More information about the pve-devel
mailing list