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

cmake topics & js/ci-disable-cmake-by-default (was: What's cooking in git.git (Dec 2022, #07; Mon, 26))

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Dec 26, 2022, 10:52 UTC
Message-ID
<221226.86y1quv1gw.gmgdl@evledraar.gmail.com>
In-Reply-To
<xmqqcz86n8bn.fsf@gitster.g>

I split up the previously merged to "next" ab/cmake-nix-and-ci and submitted the uncontroversial parts of it as:

	https://lore.kernel.org/git/patch-1.1-0fa41115261-20221219T102205Z-avarab@gmail.com
	https://lore.kernel.org/git/cover-0.2-00000000000-20221219T102813Z-avarab@gmail.com
	https://lore.kernel.org/git/cover-0.6-00000000000-20221219T183623Z-avarab@gmail.com

I think whatever happens with js/ci-disable-cmake-by-default that it makes sense to pick up & integrate those.

It's all narrow fixes for specific issues, none of which cover the area(s) that caused ab/cmake-nix-and-ci to be ejected from "next".

On Mon, Dec 26 2022, Junio C Hamano wrote:
Show 7 quoted lines
> * js/ci-disable-cmake-by-default (2022-12-20) 1 commit
>  - ci: only run win+VS build & tests in Git for Windows' fork
>
>  Stop running win+VS build by default.
>
>  Will merge to 'next'?
>  source: <pull.1445.git.1671461414191.gitgitgadget@gmail.com>

Per my feedback there, I still think it would make sense to at least split up the "should we build with MSVC?" from the "do we use cmake, and run the re-run tests we already ran with GCC with MSVC too?".

But I understand that Johannes disagreed with that, and didn't think testing MSVC in addition to GCC & Clang was valuable.

What I'd like clarification on if this moves forward is what the status of cmake in the tree is.

The reason I submitted ab/cmake-nix-and-ci was to make testing cmake+ctest on *nix trivial, so that if I and others made Makefile changes we could change & test the cmake recipe as well.

But now we won't even run that in CI, and "git-for-windows" will have ownership of it.

Does that mean that for such Makefile changes we should simply leave out the cmake changes, and rely on git-for-windows to "catch up" with its cmake contrib component?

Ultimately I don't mind such an arrangement, but I think that js/ci-disable-cmake-by-default brings us to a weird in-between state. Just removing it from the tree and having git-for-windows carry it would make sense.

So would IMO taking ab/cmake-nix-and-ci (or the restart of it above), i.e. to have cmake fixes accepted in git/git.

But now we're moving to a state where such patches aren't welcome, but we'll still carry inevitably bitrotting code in-tree, which we're intentionally not testing anymore until it's merged to git-for-windows?

Thanks.
Previous: Junio C HamanoNext: Junio C Hamano
Message 2 of 6 in “What's cooking in git.git (Dec 2022, #07; Mon, 26)”
  1. Junio C HamanoDec 26, 2022
  2. cmake topics & js/ci-disable-cmake-by-default (was: What's cooking in git.git (Dec 2022, #07; Mon, 26))Ævar Arnfjörð Bjarmason, Dec 26, 2022
  3. Junio C HamanoDec 27, 2022
  4. Ævar Arnfjörð BjarmasonDec 27, 2022
  5. Junio C HamanoDec 27, 2022
  6. built-in-submodule & in-flight dependencies (was: What's cooking in git.git (Dec 2022, #07; Mon, 26))Ævar Arnfjörð Bjarmason, Dec 28, 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.