Date: Sun, 7 Aug 2016 01:26:43 +1000 From: Kubilay Kocak <koobs@FreeBSD.org> To: Michael Grimm <trashcan@ellael.org>, freebsd-ports@FreeBSD.org Subject: Re: poudriere: howto build ports with 'make -j x'? Message-ID: <e39e0ab0-6307-cbe0-72f2-b6e025112a1e@FreeBSD.org> In-Reply-To: <051C3C33-AAB5-43CD-A089-600420F1648D@ellael.org> References: <051C3C33-AAB5-43CD-A089-600420F1648D@ellael.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7/08/2016 1:16 AM, Michael Grimm wrote: > Hi, > > I am used to build my ports by poudriere in parallel (-J x). But I do want to build specific ports in parallel per se (make -j x) just to speed up build times of huge ports like mariadb101-server. > > I did try to add an MAKEOPTS="-j8" into poudriere's specific jailname-make.conf file, and I did try to use a jailname-setfile-make.conf as well. But that didn't work for me. > > What would be the correct way to achieve what I want? > > Thanks and regards, > Michael > LOCALBASE/etc/poudriere.conf has some settings for this: # By default MAKE_JOBS is disabled to allow only one process per cpu # Use the following to allow it anyway #ALLOW_MAKE_JOBS=yes # List of packages that will always be allowed to use MAKE_JOBS # regardless of ALLOW_MAKE_JOBS. This is useful for allowing ports # which holdup the rest of the queue to build more quickly. ALLOW_MAKE_JOBS_PACKAGES="pkg gcc cmake py*" MAKE_JOBS is a ports framework variable (see Mk/bsd.port.mk) ./koobs
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e39e0ab0-6307-cbe0-72f2-b6e025112a1e>