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

Re: [RFC PATCH 0/8] speed up 'make clean'

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 5, 2020, 21:48 UTC
Message-ID
<xmqq361niifm.fsf@gitster.c.googlers.com>
In-Reply-To
<e1d218bb-7658-565e-0931-2411efbb561c@ramsayjones.plus.com>
Ramsay Jones <ramsay@ramsayjones.plus.com> writes:
> [Yes, 'cd Documentation; make clean all' will be slower that a doing
> separate 'make clean; make', but the extra 10s, or so, will be swamped
> by the documentation build time! ;-) ]

Hmph, the "all" part in "make clean all" needs the information we read from these generated files, and time must be spent to generate them whether "make clean all" or "make clean; make all" is used. In the latter, we may not generate and read them in the first phase, but the second one "make all" would need to do so anyway. So I am puzzled why "make clean all" needs to be slower---don't we generate and read them only once in either case?

Previous: Ramsay JonesNext: Ramsay Jones
Message 2 of 3 in “speed up 'make clean'”
  1. 0/8 speed up 'make clean'Ramsay Jones, Nov 5, 2020
  2. Junio C HamanoNov 5, 2020
  3. Ramsay JonesNov 6, 2020

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.