From: Fiona Ebner <f.ebner@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH qemu 2/5] d/rules: set job flag for make based on DEB_BUILD_OPTIONS
Date: Fri, 12 May 2023 17:10:32 +0200 [thread overview]
Message-ID: <20230512151035.91478-3-f.ebner@proxmox.com> (raw)
In-Reply-To: <20230512151035.91478-1-f.ebner@proxmox.com>
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@proxmox.com>
Signed-off-by: Fiona Ebner <f.ebner@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
next prev parent reply other threads:[~2023-05-12 15:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-12 15:10 [pve-devel] [PATCH-SERIES qemu] update to QEMU 8.0 Fiona Ebner
2023-05-12 15:10 ` [pve-devel] [PATCH qemu 1/5] d/rules: drop virtiofsd switch Fiona Ebner
2023-05-12 15:10 ` Fiona Ebner [this message]
2023-05-12 15:10 ` [pve-devel] [PATCH qemu 4/5] add stable patches for 8.0.0 Fiona Ebner
2023-05-12 15:10 ` [pve-devel] [PATCH qemu 5/5] PVE backup: don't call no_co_wrapper function from coroutine Fiona Ebner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230512151035.91478-3-f.ebner@proxmox.com \
--to=f.ebner@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.