logoalt Hacker News

Svokatoday at 5:00 PM2 repliesview on HN

Ninja religions following of treating timestamps (mtime) as 'modified' marker makes it useless with Git and large projects.

You switched some branches back and forward? Enjoy your 20 minutes rebuild.

* https://github.com/ninja-build/ninja/issues/1459


Replies

dezgegtoday at 5:05 PM

I believe the same author has made a ninja successor (n2) that uses hashes instead. Haven't tried personally but hopefully get around to try that in the near future

menaerustoday at 5:13 PM

I have never observed that issue, and I have been using it to build MMLoC repositories. Perhaps the reason being is that I always use it coupled with ccache. Have you tried that?

show 1 reply