asmuth / clip

Create charts from the command line
https://clip-lang.org
Apache License 2.0
5.15k stars 387 forks source link

Building with `make -j` can cause system crashes #265

Closed bisen2 closed 4 years ago

bisen2 commented 5 years ago

Building with make -j as recommended in the docs is generally inadvisable. It steals all the threads it can and will cause crashes on some systems. It would be better to run make -j $(($(nproc)/2)) for linux or $(($(sysctl -n hw.ncpu)/2)) for mac if you want to speed up your build time by multithreading.

asmuth commented 4 years ago

Fixed. Thanks for pointing out the problem!