(no title)
grlass
|
3 years ago
+1 for ninja. I first encountered is using Apache TVM, which uses CMake. I was first of all using the default make backend, and it was taking a while. Then the docs said to try adding the `-GNinja` flag to Cmake to build with ninja. I was blown away by how much faster the compilation was, and now try to use it whenever possible.
faho|3 years ago
For my uses, I've not found `ninja` to be much faster than `make -j8` on an 8-core machine.
Not that the defaults don't matter, of course.
Syzygies|3 years ago
I had to write these build files over again, and I just couldn't stomach the idea of writing another makefile.
jcelerier|3 years ago
note that nowadays you can just pass --parallel to cmake and it will do "the right thing" whenever possible, c.f. https://cmake.org/cmake/help/latest/manual/cmake.1.html#buil...