#761 Murmur 1.2.3 parallel make fails with enabled pch

open
nobody
Murmur (142)
5
2012-10-30
2011-02-23
Timo Gurr
No

When compiling Murmur 1.2.3 with make -j5 and enabled pch, compilation fails. Reproducible almost every time when ice is also enabled, and in some cases also when ice is disabled, attached are the logs of the compile failures.

Murmur compiles fine when either pch is disabled, or make -j1 is forced.

Discussion

  • Benjamin Jemlich

    That's a known problem. qmake doesn't really support targets which generate more than one output file (in this case header and code) which breaks the dependencies in the Makefile.
    The workaround is to run the protobuf (and/or slice) compiler before calling make, e.g.

    make -C src/murmur -f Makefile.Release compiler_pb_make_all

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks