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

Re: [PATCH] abspath.h file is generated by makeheaders tool

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Oct 12, 2022, 09:04 UTC
Message-ID
<221012.86r0zdmmq1.gmgdl@evledraar.gmail.com>
In-Reply-To
<pull.1353.git.git.1665563819680.gitgitgadget@gmail.com>
On Wed, Oct 12 2022, skrab-sah via GitGitGadget wrote:
Show 7 quoted lines
> From: skrab-sah <skrab.sah@gmail.com>
>
> 1. We don't need to commit the file.
> 2. Added routin for abspath.c in Makefile.
> 3. Added tool support for makeheaders.
>
> Signed-off-by: skrab-sah <skrab.sah@gmail.com>

Not to repeat earlier feedback, but I really think you need to read & internalize some of it rather than keep submitting these: https://lore.kernel.org/git/?q=skrab-sah

Not commenting on much of this, except:
Show 8 quoted lines
> @@ -1,5 +1,21 @@
>  # The default target of this Makefile is...
> -all::
> +all:: hdr
> +
> +
> +# In parallel mode things goes up and down.
> +.NOTPARALLEL:

I think this really goes to what i was pointing out in https://lore.kernel.org/git/220923.861qs25yr8.gmgdl@evledraar.gmail.com/

You're making very fundimental changes to a subsystem that your changes themselves show you clearly don't understand that well.

Firstly, we have a lot of things in this makefile which don't require C compilation, so putting a "hdr" as an "all" dependency is a no-go.

Secondly, you've globally marked our Makefile as "nothing here can run in parallel", i.e. the single biggest slowdown it's ever had, presumably because you got some dependency chain wrong, and are usin git as a workaround.

Previous: skrab-sah via GitGitGadgetNext: skrab-sah via GitGitGadget
Message 2 of 11 in “abspath.h file is generated by makeheaders tool”
  1. abspath.h file is generated by makeheaders toolskrab-sah via GitGitGadget, Oct 12, 2022
  2. Ævar Arnfjörð BjarmasonOct 12, 2022
  3. abspath.h file is generated by makeheaders toolskrab-sah via GitGitGadget, Oct 13, 2022
  4. Skrab SahOct 16, 2022
  5. Đoàn Trần Công DanhOct 16, 2022
  6. Skrab SahOct 16, 2022
  7. Junio C HamanoOct 16, 2022
  8. Đoàn Trần Công DanhOct 17, 2022
  9. Skrab SahOct 17, 2022
  10. Junio C HamanoOct 17, 2022
  11. Skrab SahOct 18, 2022

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.