[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] automation: Enable parallel build with cppcheck analysis
commit cca2361947b3c9851b3ded6e43cc48caf5258eee Author: Michal Orzel <michal.orzel@xxxxxxx> AuthorDate: Thu May 18 14:24:15 2023 +0200 Commit: Stefano Stabellini <stefano.stabellini@xxxxxxx> CommitDate: Wed May 24 18:20:03 2023 -0700 automation: Enable parallel build with cppcheck analysis The limitation was fixed by the commit: 45bfff651173d538239308648c6a6cd7cbe37172 Signed-off-by: Michal Orzel <michal.orzel@xxxxxxx> Reviewed-by: Luca Fancellu <luca.fancellu@xxxxxxx> Acked-by: Stefano Stabellini <sstabellini@xxxxxxxxxx> --- automation/scripts/build | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/automation/scripts/build b/automation/scripts/build index 9085cba352..38c48ae6d8 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 -- generated by git-patchbot for /home/xen/git/xen.git#master
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |