On 12/14/2015 1:34 AM, Igor Sobinov wrote:
Thanks, that's clear.
So, If I write in makefile
No not really clear. The problem is NOT in your makefile. The problem
is in your custom command that calls make again. That is where the
problem is. In your custom command (which you have not
On Mon, 2015-12-14 at 09:34 +0300, Igor Sobinov wrote:
> So, If I write in makefile
>
>
> build_release: $(RELEASE_DIR)
> @cd $(RELEASE_DIR); $(MAKE) release
>
> I got an error
>
> Also if I write
> build_release: $(RELEASE_DIR)
> $(MAKE) release -C $(RELEASE_DIR)
>
> I got an error
Hi Igor,
At this point it's really not a CMake question, but a GNU Make one... The
answer is actually right there in the first warning that you got.
make[4]: warning: jobserver unavailable: using -j1. Add `+' to parent make
rule.
I have to admit that I'm not absolutely sure about all the
Hello Bill,
Thanks, that's clear.
So, If I write in makefile
build_release: $(RELEASE_DIR)
@cd $(RELEASE_DIR); $(MAKE) release
I got an error
Also if I write build_release: $(RELEASE_DIR)
$(MAKE) release -C $(RELEASE_DIR)
I got an error too
But this is successfull command:
# cd
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
and again got an error
make[4]: warning: jobserver unavailable: using -j1. Add `+' to parent make
rule.
All Makefiles in
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
On 12/10/2015 12:19 AM, Igor Sobinov wrote:
igor 5460 0.0 0.0 101152 972 pts/3 S+ 08:10 0:00 | \_ make build_release -j5
igor 5466 0.0 0.0 106096 1164 pts/3 S+ 08:10 0:00 | \_ /bin/sh -c cd
/home/igor/build_root/release_target; make release
igor 5467 0.0 0.0 101184 1060 pts/3 S+ 08:10 0:00 | \_
Hello,
I compiled cmake based project with -jN option, but failed: I got the following
error:
make[4]: warning: jobserver unavailable: using -j1. Add `+' to parent make
rule.
How to make cmake to compile with multiple targets?
Bye, Igor
--
Powered by www.kitware.com
Please keep messages
On Wed, Dec 9, 2015 at 7:32 AM, Igor Sobinov wrote:
> Hello,
>
> I compiled cmake based project with -jN option, but failed: I got the
> following error:
>
> make[4]: warning: jobserver unavailable: using -j1. Add `+' to parent
> make rule.
>
> How to make cmake to compile with
On Wed, Dec 9, 2015 at 5:32 AM, Igor Sobinov wrote:
> Hello,
>
> I compiled cmake based project with -jN option, but failed: I got the
> following error:
>
> make[4]: warning: jobserver unavailable: using -j1. Add `+' to parent make
> rule.
>
That is actually only a warning
Hello All,
Here is the small description of the issue:
OS: RHEL 6.6
cmake ver. 2.8.12.2
gmake ver. 3.81
I launch the build and got the following error:
make build_release -j5
make[1]: Entering directory `/home/igor/build_root/release_target'
make[1]: warning: jobserver unavailable: using -j1.
11 matches
Mail list logo