Re:Falsehoods programmers believe about build systems (2012)
by raverbashing on Saturday July 18, 2020 @02:58PM
(#23883845)
Timestamps vs hashes shouldn't be even a thing. Why does this even matter?
Sure ok maybe you touched a file and the timestamp wasn't updated (it should, and your tool is making things harder on you). Or if you're going by hash, same hash, same file. Period. (Unless you're doing something funny with file metadata, and then again, you're shooting yourself in the foot)
Same with some comments on the original article saying "tool doesn't return correct status codes for success/failure" well, maybe you need tools that work then
Most of the advice in the article is sound though
If you're using a tool, you really should know how it works and where it will break. You should also choose the tool based on the problem you're trying to solve. If you've got a build system that rebuilds when /usr/include changes, and you're trying to do cross-compiles, choose another build system.