ncbi / ngs

NGS Language Bindings
Other
117 stars 52 forks source link

Compilation fails with parallel make -j N #7

Closed tseemann closed 3 years ago

tseemann commented 9 years ago

If you try a parallel make (eg. make -j 8) the build fails.

This indicates some of your dependency rules are broken.

kwrodarmer commented 9 years ago

We'll look at it, thanks.

Can you describe how you're using the ngs APIs?

tseemann commented 9 years ago

This is to build sra-tools from source, for the Brew package: https://github.com/Homebrew/homebrew-science/blob/a1252b84b9e115adbf51b326080101bd9e63d89f/sratoolkit.rb

kwrodarmer commented 9 years ago

As a workaround, you can just run make without -j. You may notice that internally we recursively invoke make and use -j where applicable, especially in the ncbi-vdb project.

tseemann commented 9 years ago

Yes we de-parallelize the make for this package because of the bug, but it slows down the build a lot.