Re: lang/rust is super slow to build

From: void <>
Date: Mon, 19 Dec 2022 02:05:41 UTC
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

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:

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- installed.

Same poudriere but 13-stable here.