tech-pkg archive

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

Re: Defaults for PKG_DEVELOPER=yes



On Thu, Dec 12, 2024 at 03:01:47PM +0100, Edgar Fu? wrote:
> > OK, so it looks like PKG_DEVELOPER affects the following checks:
> > - CHECK_INTERPRETER
> > - CHECK_FAKEHOME
> > - CHECK_HEADERS
> > - CHECK_PERMS
> > - CHECK_PIE
> > - CHECK_PORTABILITY
> > - CHECK_RELRO
> > - CHECK_SHLIBS
> > - CHECK_SSP
> > - CHECK_STRIPPED
> > - CHECK_WRKREF
> How expensive are these checks? E.g., if I just want to build a bunch of 
> packages on a slow system, will anyone hurt me?

These checks are quite expensive, especially if file access is slow -
some require grepping every file.

You'll want to disable it on a slow system, but hopefully you can
test the package on a faster one before committing?

We should switch NetBSD to a faster version of grep (than our gnu grep
from two decades ago), but that's a separate issue.


Home | Main Index | Thread Index | Old Index