From: Michal Orzel <michal.orzel@amd.com>
To: <xen-devel@lists.xenproject.org>
Cc: Michal Orzel <michal.orzel@amd.com>,
Doug Goldstein <cardoe@cardoe.com>,
Stefano Stabellini <sstabellini@kernel.org>,
<luca.fancellu@arm.com>
Subject: [PATCH] automation: Enable parallel build with cppcheck analysis
Date: Thu, 18 May 2023 14:24:15 +0200 [thread overview]
Message-ID: <20230518122415.8698-1-michal.orzel@amd.com> (raw)
The limitation was fixed by the commit:
45bfff651173d538239308648c6a6cd7cbe37172
Signed-off-by: Michal Orzel <michal.orzel@amd.com>
---
automation/scripts/build | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/automation/scripts/build b/automation/scripts/build
index 9085cba35281..38c48ae6d826 100755
--- a/automation/scripts/build
+++ b/automation/scripts/build
@@ -39,10 +39,8 @@ cp xen/.config xen-config
mkdir -p binaries
if [[ "${CPPCHECK}" == "y" ]] && [[ "${HYPERVISOR_ONLY}" == "y" ]]; then
- # Cppcheck analysis invokes Xen-only build.
- # Known limitation: cppcheck generates inconsistent reports when running
- # in parallel mode, therefore do not specify -j<n>.
- xen/scripts/xen-analysis.py --run-cppcheck --cppcheck-misra
+ # Cppcheck analysis invokes Xen-only build
+ xen/scripts/xen-analysis.py --run-cppcheck --cppcheck-misra -- -j$(nproc)
# Preserve artefacts
cp xen/xen binaries/xen
--
2.25.1
next reply other threads:[~2023-05-18 12:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-18 12:24 Michal Orzel [this message]
2023-05-18 12:26 ` [PATCH] automation: Enable parallel build with cppcheck analysis Luca Fancellu
2023-05-18 21:16 ` Stefano Stabellini
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=20230518122415.8698-1-michal.orzel@amd.com \
--to=michal.orzel@amd.com \
--cc=cardoe@cardoe.com \
--cc=luca.fancellu@arm.com \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xenproject.org \
/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.