Re: CMakeLists.txt from contrib/buildsystems fails to build on Mac
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Feb 8, 2023, 11:57 UTC
- Message-ID
- <230208.86sffgz7i1.gmgdl@evledraar.gmail.com>
- In-Reply-To
- <BFC8139A-0A9A-4E84-BC0B-D6EE5F469F82@gmail.com>
On Wed, Feb 08 2023, Ilya Kantor wrote:
> May that be because of some changes in MacOs Ventura? > Or is the CMakeLists.txt "dead and forgotten"? ;) > > P.S. The regular "make" route works.
You should just use "make", the "cmake" build method is currently in some limbo. See my https://lore.kernel.org/git/221227.86pmc4vrk3.gmgdl@evledraar.gmail.com/ for a recent overview/questions about it.
Since I wrote that 0949eba7fd0 (diagnose: another dup2() leak, 2022-12-06) landed on git.git's master, so we don't run it ourselves in CI, even for Windows (which it was intended for).
As noted in previous exchanges I wouldn't mind fixing it up to work on more platforms, but Junio wasn't enthusiastic about those patches & dropped them.
Alternatively I think the best thing to do is to "git rm" it from git.git, and leave it to git-for-windows. From what I understood from Johannes he preferred that plan.
Or rather, that GFW would be fixing it up, but then I don't see why it should be in git.git, which as your message shows just leads to confusion about why this component is in git.git's tree.