Re: More swap trouble with armv7, was Re: -current on armv7 stuck with flashing disk light
Date: Tue, 04 Jul 2023 23:22:43 UTC
Hello.
Mark Millard wrote on 2023/07/05 06:51:
> [I continued to type MAX_JOBS_NUMBER where
> MAKE_JOBS_NUMBER should have been what I
> typed.]
>
It may be possible to set stricter restrictions on selected ports in /usr/local/etc/poudriere.d/make.conf.
For example,
# normally
.if ${.CURDIR:tA} == "/usr/ports/devel/llvm15"
MAKE_JOBS_NUMBER= 1
.endif
# pattern matching can be performed
.if !empty(.CURDIR:tA:M/usr/ports/devel/llvm15) ||
!empty(.CURDIR:tA:M/usr/ports/devel/llvm*)
MAKE_JOBS_NUMBER= 1
.endif
# not limited to /usr/ports
.if !empty(.CURDIR:tA:T:Mllvm*) && !empty(.CURDIR:tA:H:T:Mdevel)
MAKE_JOBS_NUMBER= 1
.endif
If we write this on an individual port basis, we can use the resources to the very limit where they don't overflow :)
Regards.