Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jul 2023 08:22:43 +0900
From:      Tatsuki Makino <tatsuki_makino@hotmail.com>
To:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: More swap trouble with armv7, was Re: -current on armv7 stuck with flashing disk light
Message-ID:  <SI2PR01MB5036BA112F9EF7FFF63CB5CDFA2EA@SI2PR01MB5036.apcprd01.prod.exchangelabs.com>
In-Reply-To: <286ABDA5-BB1A-47C1-A187-168FFD86A441@yahoo.com>
References:  <ZJpFqAnnKPq/XmxJ@www.zefox.net> <A91FF89C-2BAA-4E93-96FA-C75C6FA4A0A0@yahoo.com> <ZJsOTzp%2Bb7O2%2BbhQ@www.zefox.net> <E1670A16-2F8E-4E94-A44C-DF7886233F62@yahoo.com> <066FD282-1637-448C-99FF-BA62718386F0@yahoo.com> <ZJsZiQGs0QlHhzTV@www.zefox.net> <ZKRt4ryCGyv9n%2BQ/@www.zefox.net> <9A15D619-3274-44AC-B7E1-A1D6C7D334F2@yahoo.com> <286ABDA5-BB1A-47C1-A187-168FFD86A441@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SI2PR01MB5036BA112F9EF7FFF63CB5CDFA2EA>