Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Dec 2022 02:05:41 +0000
From:      void <void@f-m.fm>
To:        ports@freebsd.org
Subject:   Re: lang/rust is super slow to build
Message-ID:  <Y5/G9dz2jWBXolZw@sysmon.zyxst.net>
In-Reply-To: <PH0PR16MB424536D5A539982BCA9CF0B480E49@PH0PR16MB4245.namprd16.prod.outlook.com>
References:  <EDE0639D-04CE-44C6-922D-159F45576296@patmaddox.com> <Y53fw1aRSIQ98dfO@sysmon.zyxst.net> <PH0PR16MB424536D5A539982BCA9CF0B480E49@PH0PR16MB4245.namprd16.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Dec 18, 2022 at 07:05:54AM -0500, Gerard E. Seibert wrote:
>Question 1:
>
>Do I have to modify the existing /usr/local/etc/poudriere.d/make.conf
>file?

I have this in the make.conf for the poudriere jail (also it's symlinked
to /etc/make.conf):

SCCACHE_DIR=    /root/.sccache
OVERLAYS+=      /usr/local/share/sccache/overlay

So all the *cache stuff in there looks like this:

WITH_CCACHE_BUILD=YES
CCACHE_DIR=/var/cache/ccache
SCCACHE_DIR=    /root/.sccache
OVERLAYS+=      /usr/local/share/sccache/overlay

>Question 2:
>
>I am presently using "ccache". Do I have to modify the existing
>"CCACHE_DIR=" parameter in the /usr/local/etc/poudriere.conf file?

no (well I've not and it "works for me")

>Is there anything else I should be doing?

first, make it so poudriere can find sccache

# poudriere ports -c -p sccache -m null -M /usr/local/share/sccache/overlay

call poudriere like this:

poudriere bulk -O sccache -j buildername -f ports.txt

>This is on a FreeBSD 13.1-RELEASE-p5 amd64 system with
>poudriere-devel-3.3.99.20220831 installed.

Same poudriere but 13-stable here.

-- 



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