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

Re: [ANNOUNCE] Git v2.50.0-rc1 - Test Failed

From
'Todd Zullinger' <tmz@pobox.com>
Date
Jun 5, 2025, 23:38 UTC
Message-ID
<aEIqXphU07pYjFCg@teonanacatl.net>
In-Reply-To
<xmqq7c1p7si3.fsf@gitster.g>
Junio C Hamano wrote:
Show 11 quoted lines
> <rsbecker@nexbridge.com> writes:
> 
>> Can I pass this in via command line? Instead of modifying config.mak?
> 
>     make NO_TCLTK=NoThanks
> 
> just like you are passing V=1 on the command line of "make" in your
> earlier message.  That would not build or install gitk and git-gui.
> 
> By the way, I do not think writing into config.mak qualifies as
> "modifying", as we do not ship one ourselves.

Indeed, I always considered that the ideal way to set options.

Another benefit, from the perspective of package builder, is that you then use the same options for all the invocations of make. This avoids things being needlessly rebuilt if you happen to set them in build and install sections of your packaging recipes and then let them get out of sync.

In the Fedora builds, we did it like so¹:

# Use these same options for every invocation of 'make'. # Otherwise it will rebuild in %%install due to flags # changes. # Pipe to tee to aid confirmation/verification of settings. cat << \EOF | tee config.mak V = 1 CFLAGS = %{build_cflags} LDFLAGS = %{build_ldflags} ... EOF

['%{build_*flags}' are rpm macros, not something to be used
 literally, just in case anyone wonders.]
¹ https://src.fedoraproject.org/rpms/git/blob/ee7f0d4/f/git.spec#_545-582
-- 
Todd
Previous: Junio C HamanoNext: rsbecker@nexbridge.com
Message 16 of 17 in “[ANNOUNCE] Git v2.50.0-rc1”
  1. Junio C HamanoJun 3, 2025
  2. rsbecker@nexbridge.comJun 3, 2025
  3. rsbecker@nexbridge.comJun 3, 2025
  4. Todd ZullingerJun 4, 2025
  5. Junio C HamanoJun 4, 2025
  6. Johannes SixtJun 4, 2025
  7. rsbecker@nexbridge.comJun 5, 2025
  8. Patrick SteinhardtJun 5, 2025
  9. rsbecker@nexbridge.comJun 5, 2025
  10. Johannes SixtJun 5, 2025
  11. Junio C HamanoJun 5, 2025
  12. [GIT PULL] git-gui: fix for: [ANNOUNCE] Git v2.50.0-rc1 - Test FailedJohannes Sixt, Jun 6, 2025
  13. [GIT PULL] git-gui: Sync with 2.50.1, Tcl >= 8.6, git >= 2.36Johannes Sixt, Jul 22, 2025
  14. rsbecker@nexbridge.comJun 5, 2025
  15. Junio C HamanoJun 5, 2025
  16. 'Todd Zullinger'Jun 5, 2025
  17. rsbecker@nexbridge.comJun 6, 2025

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.