0
$\begingroup$

I have multiple libraries and the main program. When I run catkin build command it starts with 8 jobs but after finishing building libraries continues to build the main program only using 1 job (one CPU core).

How do I force catkin build to distribute multiple cores on building each individual libs?

$\endgroup$

1 Answer 1

1
$\begingroup$
catkin build -j15 --make-args="-j5"

uses 15 make jobs with 5 processes each.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.