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

Re: [PATCH v2] Makefile: let ccache cache objects built with the precompiled header

From
Harald Nordgren <haraldnordgren@gmail.com>
Date
Dec 3, 2026, 11:45 UTC
Message-ID
<CAHwyqnWCAJ7aASp_E1rn_7JaCiWWXiVL2McAVf79RoS=KtULfg@mail.gmail.com>
In-Reply-To
<0db82cc0-9048-4970-b780-73156710ee5a@gmail.com>
Show 7 quoted lines
> > With Clang, switching to a branch that changes one of the headers the
> > precompiled header includes and back again still misses the cache,
> > because Clang records the modification times of those headers in the
> > precompiled header.
>
> That's a pain, the ccache manual mentions using -fno-pch-timestamp -
> should we be adding that as well?
Interesting point, let me take a look at this.
> Thanks for working on this
Thank you for the review!
Harald
Previous: Phillip Wood
Message 10 of 10 in “Makefile: let ccache cache objects built with the precompiled header”
  1. Makefile: let ccache cache objects built with the precompiled headerHarald Nordgren via GitGitGadget, Oct 27, 2026
  2. Ben KnobleOct 27, 2026
  3. Harald NordgrenOct 27, 2026
  4. D. Ben KnobleOct 27, 2026
  5. Patrick SteinhardtOct 28, 2026
  6. Harald NordgrenOct 28, 2026
  7. Harald NordgrenOct 30, 2026
  8. Makefile: let ccache cache objects built with the precompiled headerHarald Nordgren via GitGitGadget, Oct 29, 2026
  9. Phillip WoodDec 3, 2026
  10. Harald NordgrenDec 3, 2026

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.