Re: git: 53c1ad8c4add - main - bsd.port.mk: run pkg-create with MAKE_JOB_NUMBER threads

From: Alexey Dokuchaev <danfe_at_freebsd.org>
Date: Fri, 06 Mar 2026 10:11:40 UTC
On Wed, Mar 04, 2026 at 12:57:31PM -0500, Adam Weinberger wrote:
> On Wed, Mar 4, 2026 at 9:40???AM Siva Mahadevan wrote:
> > commit 53c1ad8c4add9656b4ee3e0d1a1c1b643d617f84
> >
> >   bsd.port.mk: run pkg-create with MAKE_JOB_NUMBER threads
> >
> >   Following the same as https://reviews.freebsd.org/D53053
> >   in the src tree.
> 
> Thank you for this! The difference is incredible. On the aging
> E3-1270v2 in my rented box, it brought packaging llvm from 20 minutes
> down to 10.

I've been struggling with insanely long LLVM package times back in 2017*,
ultimately deciding to package with PKG_NOCOMPRESS=1 and perform compression
separately.  I've settled with `archivers/lbzip2' for now (you can find some
numbers in that email thread).  The only minor nuisance with bzip2 is its
longer decompression times, so I might look at something else eventually;
luckily, PKG_NOCOMPRESS=1 unties me from any particular compressor.

./danfe

*) https://lists.freebsd.org/pipermail/freebsd-ports/2017-April/108096.html