Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Dec 2022 14:12:50 -0800
From:      "Pat Maddox" <pat@patmaddox.com>
To:        "Robert Clausecker" <fuz@fuz.su>
Cc:        ports@freebsd.org
Subject:   Re: lang/rust is super slow to build
Message-ID:  <F98BFF4B-17FB-4685-BE4E-0F33589E9C78@patmaddox.com>
In-Reply-To: <Y5eBYNsToeEaFSTu@fuz.su>
References:  <EDE0639D-04CE-44C6-922D-159F45576296@patmaddox.com> <Y5eBYNsToeEaFSTu@fuz.su>

next in thread | previous in thread | raw e-mail | index | archive | help
Okay! It took a few tries for me to recognize that it was 
ALLOW_MAKE_JOBS rather than PARALLEL_JOBS.

Once I set it, it took 26 minutes to build Rust - that’s more like it 
:)

Good to know that there can be some really long build times... for our 
lower specced build machine at work, I’ll configure a cron job to 
update the ports tree and build on the weekend. That way we should 
hopefully avoid any long build times in our CI.

Thank you for the guidance!

Pat

p.s. I do know about -b latest to fetch dependency ports... starting off 
I would like to see how full builds work.

On 12 Dec 2022, at 11:30, Robert Clausecker wrote:

> Hi Pat,
>
> Did you configure Poudriere to permit more than one job per package?
> The default is 1 job per package, with as many packages as you have
> cores being built in parallel.
>
> Yours,
> Robert Clausecker
>
> Am Mon, Dec 12, 2022 at 11:27:45AM -0800 schrieb Pat Maddox:
>> Using poudriere, lang/rust is at 2 hours and counting on my 10-core 
>> i9
>> w/ 128 gigs of RAM.
>>
>> Does that sound right? It seems extremely slow to me, but this is my
>> first time building it.
>>
>> How long does it take others to build? What options are you using, or
>> any other suggestions for shortening the time?
>>
>> Pat
>>
>
> -- 
> ()  ascii ribbon campaign - for an 8-bit clean world
> /\  - against html email  - against proprietary attachments



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F98BFF4B-17FB-4685-BE4E-0F33589E9C78>