genome / bam-readcount

Count bases in BAM/CRAM files
MIT License
305 stars 95 forks source link

Parallel make fails #22

Closed sjackman closed 9 years ago

sjackman commented 9 years ago

make -j4 fails. make -j1 builds fine.

❯❯❯ make -j4
…
/usr/local/Cellar/cmake/3.2.2/bin/cmake -E cmake_progress_report /tmp/bam-readcount20150612-1951-1wqpaid/bam-readcount-0.7.4/build/CMakeFiles  3 4 5 6 7 8 9 10
[100%] Built target boost-1.55
make: *** [all] Error 2
ernfrid commented 9 years ago

Oops.

ernfrid commented 9 years ago

This is a known issue with the dependencies. Currently you need to do: make -j deps followed by make -j install. I'm going to leave this open because a little bird told me they'd figured out how to make this work more elegantly and I would like to potentially fix it.

sjackman commented 9 years ago

Thanks for the workaround, Dave.

ernfrid commented 9 years ago

The two stage build process should no longer be necessary. Please do let us know if you run into any troubles though.