[CMake] Parallel jobs failed for cmake

Bill Hoffman bill.hoffman at kitware.com
Fri Dec 11 14:14:26 EST 2015


On 12/11/2015 7:24 AM, Igor Sobinov wrote:
> Hello Bill,
>
> yes, make release is a custom command but that's not important.
> I do the following:
> # cd /home/igor/build_root/release_target
> # make release -j5
Yes, it is important, it is the reason it is not working.  The custom 
command needs to use $(MAKE) and not make to call make or you will get 
this error.  Child make calls need environment variables to get parallel 
builds to work.  The MAKE env var is used to pass them around.

-Bill



More information about the CMake mailing list