Large builds with poudriere

Carmel carmel_ny at outlook.com
Thu May 20 14:48:24 UTC 2021


On Thu, 20 May 2021 16:11:21 +0200, Alexis Praga stated:
>Thanks for the suggestions.
>
>> At least, if your machine is powerful enough, you can edit your
>> /usr/local/etc/poudriere.conf and list these big ports in
>> ALLOW_MAKE_JOBS_PACKAGES.  
>I'm using ALLOW_MAKE_JOBS=yes already so it won't help unfortunately,
>I think.
>
>> You can manually put the rust/llvm package in the All packages
>> directory and poudriere will use that. It is a manual repeating task
>> though. So the package seeding is indeed a nice feature.  
>I just tried to copy rust-1.52-1.txz from one jail "all" to another
>"all" but it's building anyway. 
>
>
>Regarding package seeding, a github issue mentions it's already
>implemented but not working for some package (like llvm):
>https://github.com/freebsd/poudriere/issues/319
>
>--
>Alexis Praga

Have you tried "devel/ccache"? I have it incorporated into poudriere
and it makes quite a difference. The first time you build a large
package, it won't make any difference; however, on subsequent builds,
it cut the build time significantly on my system.

-- 
Carmel


More information about the freebsd-ports mailing list