Hi!

Gabriel Wicki <[email protected]> skribis:

> Brooding over packaging the EDA tool naja and its fork of some `slang`
> package I noticed that the build was *very* slow.  Checking `top` I
> figured object files are compiled serially.  A quick search produced¹
> and wow, build time is N-core times faster now.  Which raises the
> question: is it possible that cmake-build-system does not set
> CMAKE_BUILD_PARALLEL_LEVEL by default?

The ‘build’ phase in ‘guix/build/cmake-build-system.scm’ invokes ‘make’
with ‘-jN’ by default, so it’s building things in parallel (respecting
the ‘--cores’ option passed to ‘guix-daemon’ or ‘guix’).

HTH!
Ludo’.

Reply via email to