[Rpm-maint] [rpm-software-management/rpm] Make check-buildroot check the build files in parallel (#687)
Panu Matilainen
notifications at github.com
Mon May 6 09:45:20 UTC 2019
pmatilai commented on this pull request.
>
find "$RPM_BUILD_ROOT" \! \( \
-name '*.pyo' -o -name '*.pyc' -o -name '*.elc' -o -name '.packlist' \
\) -type f -print0 | \
- LANG=C xargs -0r grep -F "$RPM_BUILD_ROOT" >$tmp
+ LANG=C xargs -0r -P$NCPUS -n16 grep -F "$RPM_BUILD_ROOT" >>$tmp
Yeah these magic max-args numbers (16 here, 32 there) I don't like.
We should come up with a common scheme (with common tunables if necessary) to do these things in the helper scripts and then follow that in all cases.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/687#discussion_r281121192
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190506/efe0e251/attachment.html>
More information about the Rpm-maint
mailing list