tech-pkg archive

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

Re: Set MAKE_JOBS_SAFE=no for samba?



On Sat, 5 Jan 2019 11:46:10 +0100
Benny Siegert <bsiegert%gmail.com@localhost> wrote:

> net/samba consistently fails to build for me with MAKE_JOBS=12. This
> is because it wants to link all the things in parallel, which ends up
> exhausting the maximum number of open files in the system.
> 
> Would there be objections if I set it as not MAKE_JOBS_SAFE?

Hi,

I'd like to suggest a solution I often use for local kludges.
You can put this in /etc/mk.conf:

.if !empty(PKGPATH:Mnet/samba*)
MAKE_JOBS=4
.else
MAKE_JOBS=12
.endif

Kind regards,
-Tobias


Home | Main Index | Thread Index | Old Index