Build: Ninja: Enable pooljobs by default.

Using pooljobs with default settings should never have any significant impact
on the build speed, and it makes building full debug with sanitizer builds
safe on (almost) all machines.

Quick test showed no significant difference in Release build time with or
without Ninja pooljobs (on linux, with a 16 cores, 64GBb machine).
This commit is contained in:
Bastien Montagne 2024-01-04 16:47:03 +01:00
parent 66cdc112fc
commit fd0ca109b1

@ -1025,7 +1025,7 @@ if("${CMAKE_GENERATOR}" MATCHES "Ninja")
option(WITH_NINJA_POOL_JOBS "\
Enable Ninja pools of jobs, to try to ease building on machines with 16GB of RAM or less \
(if not yet defined, will try to set best values based on detected machine specifications)."
OFF
ON
)
mark_as_advanced(WITH_NINJA_POOL_JOBS)
endif()