tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: patch: parallelized pkg_chk

On Thu, Mar 12, 2020 at 09:17:39PM +0100, Tobias Nygren wrote:
> "pkg_chk -uqB" as used by pkg_rolling-replace is quite slow on systems
> with many packages installed because it needs to run bmake on in each
> package directory to extract PKGNAME and optionally other things.
> The attached patch parallelizes this phase up to MAKE_JOBS.

I am generally in favor of the idea, but I don't think this should be
tied to MAKE_JOBS and I'd prefer to depend on xargs instead of open
coding the job queue logic.


Home | Main Index | Thread Index | Old Index