[Interest] Qt6 build on Raspi

Frank Mertens frank at cyblogic.de
Tue Mar 12 10:03:41 CET 2024


On 3/8/24 18:02, Thiago Macieira wrote:
> On Friday, 8 March 2024 00:20:24 PST Frank Mertens wrote:
>> I usually do not build on the Raspberry directly. Modern compilers take ever
>> more memory. Another problem might be parallelism of the optimizing link
>> stage. Checkout CMAKE_JOB_POOL_LINK and CMAKE_JOB_POOK_COMPILE.
>> You probably have to limit both to not run out of memory.
> 
> That's just going to fail the build if the compilers can't get enough memory.
> Alexander says he tried to build with -j1 and that still got the system to
> freeze.
> 

I would have thought that, when building with ninja, `cmake --build .` does automatically spam to all cores.

Best regards,
Frank


More information about the Interest mailing list