cjdelisle/cjdns — Issue #24: make -j N fails for N > 1
Author: eblume
Created: 2012-02-19 17:15:58+00:00
State: open

It stands to reason that this bug isn't caused by cjdns but rather by cmake, so feel free to close it if I'm posting this in the wrong place.

After running:

$ git clone https://github.com/cjdelisle/cjdns.git
$ cd cjdns
$ mkdir testbuild
$ cd testbuild
$ cmake ..

If I then run:

$ make -j 8

The build will fail at around 20% with the following error:
```...
=== Sun Feb 19 09:07:43 PST 2012 === starting tests/stream8
=== Sun Feb 19 09:07:43 PST 2012 === finishing
Built target do
[ 7%] No install step for 'NACL'
[ 7%] Completed 'NACL'
[ 20%] Built target NACL
make: *** [all] Error 2
```

Running make without the -j flag (which uses multiprocessing) fixes the issue.