Re: integrating make and git
- From
Robin Rosenberg <robin.rosenberg.lists@dewire.com>
- Date
- Apr 15, 2009, 17:30 UTC
- Message-ID
- <200904151930.32816.robin.rosenberg.lists@dewire.com>
- In-Reply-To
- <3a69fa7c0904150947w25783199n6e304d7b4efcd051@mail.gmail.com>
onsdag 15 april 2009 18:47:52 skrev E R <pc88mxer@gmail.com>:
Show 6 quoted lines
> Ok - I was wrong about the timestamps not getting updated. Thanks for > that correction. > > However, what about the idea of associating the result of a build with > the hash of the source files used by the build, and using git to > compute the hash?
Take a look at ccache. It doesn't use Git, but it uses hashes of source, and compiler flags and associates that with the resulting object files, so it can avoid compiling. If you are building largs C/C++ (especially C++) projects you want it.
-- robin