tech-pkg archive

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

Re: Adjusting pkg_chk to spend less time cleaning



On Tue 14 Nov 2023 at 18:19:53 +0000, David Brownlee wrote:
> By default pkg_chk calls
> 
> ${MAKE} update CLEANDEPENDS=yes
> 
> which is great for leaving everything clean afterwards, but results in
> a lot of time with every package cleaning all its depends... (it uses
> this if the target package is installed or not)
> 
> Would anyone object to it being adjusted to
> 
> ${MAKE} update 'DEPENDS_TARGET=package-install clean'
> 
> which should result in all the rebuilt packages and dependencies being
> clean afterwards, but without the wasted effort. I've been running
> with this for a few months

Sounds like a good idea. Because of excessive cleaning, I have run
pkg_chk inside pkg_comp1 with

CLEANDEPENDS="no" # it's done anyway, this turns off a duplicate

for ages now. Your change seems pretty similar in effect.
I vaguely recall removing some cleaning from another place as well, but
I can't find that right now.

> David
-Olaf.
-- 
___ Olaf 'Rhialto' Seibert                            <rhialto/at/falu.nl>
\X/ There is no AI. There is just someone else's work.           --I. Rose

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index