LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to run cmake in parallel build? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-run-cmake-in-parallel-build-4175561025/)

sluge 12-09-2015 02:10 AM

How to run cmake in parallel build?
 
Hello,

I need to comply cmake-based project. To speed up compilation, I plan to use -jN for parallel build.
But I got the following error:

Code:

warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
How to enable the parallel build?

pan64 12-09-2015 09:38 AM

what do you think about your own question? How can anyone give you an answer without knowing anything about your system?
From the other hand the solution is there: Add `+' to parent make rule. Have you tried that?

https://www.linuxquestions.org/linux...Ask_a_Question

John VV 12-09-2015 01:15 PM

edit the makefile
or
use ccmake
or
read the manual
Code:

man cmake

sluge 12-09-2015 11:20 PM

Hello,
here is the small description of the issue:

OS: RHEL 6.6
cmake ver. 2.8.12.2
gmake ver. 3.81


All times are GMT -5. The time now is 12:31 PM.