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
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest