iqtree / iqtree2

NEW location of IQ-TREE software for efficient phylogenomic software by maximum likelihood http://www.iqtree.org
GNU General Public License v2.0
231 stars 55 forks source link

How to reduce verbosity of build logs? #278

Closed corneliusroemer closed 1 month ago

corneliusroemer commented 1 month ago

When trying to build iqtree and finding workarounds for various compilation errors, I struggled with the size of the build logs. The logs easily get to 5k lines or more, making it hard to spot the real errors.

In particular, I haven't found a way to suppress "note"s and "warnings". Maybe I've missed an obvious cmake/make option. Would be great if you could help me.

corneliusroemer commented 1 month ago

I've figured something out: one just needs to add -w to both C_FLAGS and CXX_FLAGS, then all the warnings disappear.