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

Re: integrating make and git

From
David Kågedal <davidk@lysator.liu.se>
Date
Apr 16, 2009, 08:05 UTC
Message-ID
<8763h5qazf.fsf@krank.kagedal.org>
In-Reply-To
<loom.20090416T034427-809@post.gmane.org>
Ben Jackson <ben@ben.com> writes:
Show 15 quoted lines
> E R <pc88mxer <at> gmail.com> writes:
>
>> Now suppose that making 'lib1' only depends on the source code in a
>> certain directory. The idea is to associate the hash of the source
>> directory for lib1 with its the derived files. Make can check this to
>> determine if the component really needs to be rebuilt.
>
> ClearCase has "wink-ins" which are very much like this.  It knows that a given
> object was produced from a certain set of sources with a particular command. 
> When someone wants to recreate that object (not even necessarily the original
> builder) it can "wink in" the result.  Typically a brand new "view" (a ClearCase
> working directory) build will consist of winking in a ton of objects rather than
> building anything.  I'm not sure how much of this is due to cleverness in
> clearmake and how much is due to the view being implemented as a virtual
> filesystem (which can see every repository file being read as part of a build).

It very much depends on implementing its own file system, since it otherwise would have no idea what the *real* build dependencies are.

That one of the nice things about clearmake, by the way. You don't have to worry much about describing the dependencies, since it will figure it out all by itself when you first build the project.

But I don't think there is much in CC for git to copy... :-)
-- 
David Kågedal
Previous: Ben JacksonNext: Dmitry Potapov
Message 12 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.