Re: Building gcc12 parallel

From: Willem Jan Withagen <wjw_at_digiware.nl>
Date: Sat, 14 Jan 2023 15:42:32 UTC
On 14-1-2023 16:13, Robert Clausecker wrote:
> By default, gcc is configured to build with LTO.  This means that most of
> the build is serial.  You can disable LTO by setting a port option to
> significantly speed up the build.

Good suggestion
With ALLOW_MAKE_JOBS=yes

It was down to 13 minutes.

--WjW

> Yours,
> Robert Clausecker
>
> Am Sat, Jan 14, 2023 at 03:53:53PM +0100 schrieb Willem Jan Withagen:
>> Hi All,
>>
>> Machine has 56 cores and 256G, so things should work fast.
>>
>> Trying to build (big) some stuff in poudriere and now build is stuck on
>> GCC-12.
>> Which it seems to do in serial mode, atleast I can only detect max 1
>> compile-thread.
>> And that is of course going to take forever.
>>
>> So what do I need to do to get Poudriere to call the gcc-12 build with
>> something like -j 56 or so.
>>
>> Thanx,
>> --WjW
>>
>>