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

Re: [PATCH] Makefile: fix parallel build race

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Nov 17, 2021, 23:14 UTC
Message-ID
<nycvar.QRO.7.76.6.2111180012470.21127@tvgsbejvaqbjf.bet>
In-Reply-To
<YZR0djZbRUicXcQm@coredump.intra.peff.net>
Hi Peff,
On Tue, 16 Nov 2021, Jeff King wrote:
> I wondered if contrib/buildsystems/CMakeLists would need a similar
> fixup, but it doesn't have any generated header dependencies at all (not
> for hook-list.h, but not for the existing command-list.h). So I'll
> assume it's fine (as did cfe853e66b).

The strategy we take in our CMake-based configuration is for files like hook-list.h to be generated at _configure_ time, i.e. before the build definition file is written, i.e. well before the build. That's why there is no explicit dependency, it's not necessary.

Ciao, Dscho

Previous: Ævar Arnfjörð BjarmasonNext: Ævar Arnfjörð Bjarmason
Message 5 of 12 in “Makefile: fix parallel build race”
  1. Makefile: fix parallel build raceĐoàn Trần Công Danh, Nov 17, 2021
  2. Jeff KingNov 17, 2021
  3. Mike HommeyNov 17, 2021
  4. Ævar Arnfjörð BjarmasonNov 17, 2021
  5. Johannes SchindelinNov 17, 2021
  6. Ævar Arnfjörð BjarmasonNov 17, 2021
  7. Đoàn Trần Công DanhNov 18, 2021
  8. Johannes SchindelinNov 18, 2021
  9. Ævar Arnfjörð BjarmasonNov 19, 2021
  10. Ævar Arnfjörð BjarmasonNov 19, 2021
  11. Johannes SchindelinNov 19, 2021
  12. Ævar Arnfjörð BjarmasonNov 19, 2021

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.