git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: E RNext: Jeff King
Message 5 of 14 in “integrating make and git”
  1. E RApr 15, 2009
  2. Matthieu MoyApr 15, 2009
  3. Daniel BarkalowApr 15, 2009
  4. E RApr 15, 2009
  5. Robin RosenbergApr 15, 2009
  6. Jeff KingApr 16, 2009
  7. Matthieu MoyApr 16, 2009
  8. Nguyen Thai Ngoc DuyApr 16, 2009
  9. Daniel BarkalowApr 15, 2009
  10. John BitoApr 15, 2009
  11. Ben JacksonApr 16, 2009
  12. David KågedalApr 16, 2009
  13. Dmitry PotapovApr 17, 2009
  14. Ealdwulf WuffingaApr 18, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.