LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-09-2015, 02:10 AM   #1
sluge
Member
 
Registered: Dec 2006
Location: Russia,52
Posts: 121

Rep: Reputation: 6
Question 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?
 
Old 12-09-2015, 09:38 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,070

Rep: Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132Reputation: 4132
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
 
Old 12-09-2015, 01:15 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,453

Rep: Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601
edit the makefile
or
use ccmake
or
read the manual
Code:
man cmake

Last edited by John VV; 12-09-2015 at 01:16 PM.
 
Old 12-09-2015, 11:20 PM   #4
sluge
Member
 
Registered: Dec 2006
Location: Russia,52
Posts: 121

Original Poster
Rep: Reputation: 6
Hello,
here is the small description of the issue:

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


Reply

Tags
cmake


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] cmake build crashes when running as user Tim Johnson Slackware 10 10-15-2014 03:31 PM
Cmake fails with in-tree build even when in a different directory sabresong Linux - Software 1 06-02-2014 11:55 PM
[SOLVED] cmake : can't build the project Teufel Programming 1 10-07-2013 01:00 AM
X11R6 - PCSX2 cmake build problem Hyonane Slackware 3 09-20-2012 03:28 PM
Need a build chain (make or cmake) for *nix_Movemap Project aming51 Programming 1 06-29-2010 10:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration