<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/contrib/buildsystems, branch master</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=master</id>
<link rel='self' href='https://git.shady.money/git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2026-04-09T21:47:28Z</updated>
<entry>
<title>Revert "cmake: use writev(3p) wrapper as needed"</title>
<updated>2026-04-09T21:47:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2026-04-09T21:47:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9c30dddefdfe22329fdad84e80a4eca117df7bd7'/>
<id>urn:sha1:9c30dddefdfe22329fdad84e80a4eca117df7bd7</id>
<content type='text'>
This reverts commit 89152af176ea94ea8f3249115b6e00827fbbeb70; let's
not use writev() for now.
</content>
</entry>
<entry>
<title>Merge branch 'js/cmake-needs-writev-compat-too'</title>
<updated>2026-04-03T22:24:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2026-04-03T22:24:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ac340a635dc8f338ee4ad6a6f74c974cdcda7217'/>
<id>urn:sha1:ac340a635dc8f338ee4ad6a6f74c974cdcda7217</id>
<content type='text'>
Build instruction for recently added writev() compatibility wrapper
has been also added to cmake.

* js/cmake-needs-writev-compat-too:
  cmake: use writev(3p) wrapper as needed
</content>
</entry>
<entry>
<title>cmake: use writev(3p) wrapper as needed</title>
<updated>2026-04-03T17:34:01Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2026-04-03T08:55:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=89152af176ea94ea8f3249115b6e00827fbbeb70'/>
<id>urn:sha1:89152af176ea94ea8f3249115b6e00827fbbeb70</id>
<content type='text'>
This is a companion patch of 3b9b2c2a29a (compat/posix: introduce
writev(3p) wrapper, 2026-03-13) where support for using the `writev()`
wrapper was introduced in the `Makefile` and the Meson-based build, but
the CMake build still needs that treatment, too.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>builds: move build scripts into "tools/"</title>
<updated>2026-03-19T13:40:09Z</updated>
<author>
<name>Patrick Steinhardt</name>
<email>ps@pks.im</email>
</author>
<published>2026-03-19T05:33:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a767f2fd6c5a6104ff32a35a27f0c15aec546957'/>
<id>urn:sha1:a767f2fd6c5a6104ff32a35a27f0c15aec546957</id>
<content type='text'>
We have a bunch of scripts used by our different build systems that are
all located in the top-level directory. Now that we have introduced the
new "tools/" directory though we have a better home for them.

Move the scripts into the "tools/" directory.

Signed-off-by: Patrick Steinhardt &lt;ps@pks.im&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'mc/tr2-process-ancestry-cleanup'</title>
<updated>2026-02-25T19:54:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2026-02-25T19:54:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=422cae66878b8152453fe89c179dddbe1413cf56'/>
<id>urn:sha1:422cae66878b8152453fe89c179dddbe1413cf56</id>
<content type='text'>
Add process ancestry data to trace2 on macOS to match what we
already do on Linux and Windows.  Also adjust the way Windows
implementation reports this information to match the other two.

* mc/tr2-process-ancestry-cleanup:
  t0213: add trace2 cmd_ancestry tests
  test-tool: extend trace2 helper with 400ancestry
  trace2: emit cmd_ancestry data for Windows
  trace2: refactor Windows process ancestry trace2 event
  build: include procinfo.c impl for macOS
  trace2: add macOS process ancestry tracing
</content>
</entry>
<entry>
<title>build: include procinfo.c impl for macOS</title>
<updated>2026-02-13T20:18:31Z</updated>
<author>
<name>Matthew John Cheetham</name>
<email>mjcheetham@outlook.com</email>
</author>
<published>2026-02-13T19:54:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=088aaf1d416e5ea1f6986d82df9ba63d7bf1197f'/>
<id>urn:sha1:088aaf1d416e5ea1f6986d82df9ba63d7bf1197f</id>
<content type='text'>
Include an implementation of trace2_collect_process_info for macOS.

Signed-off-by: Matthew John Cheetham &lt;mjcheetham@outlook.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'rs/ban-mktemp'</title>
<updated>2025-12-16T02:08:35Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2025-12-16T02:08:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=91bfbf49b6566d2b412d12240336027e351a631c'/>
<id>urn:sha1:91bfbf49b6566d2b412d12240336027e351a631c</id>
<content type='text'>
Rewrite the only use of "mktemp()" that is subject to TOCTOU race
and Stop using the insecure "mktemp()" function.

* rs/ban-mktemp:
  compat: remove gitmkdtemp()
  banned.h: ban mktemp(3)
  compat: remove mingw_mktemp()
  compat: use git_mkdtemp()
  wrapper: add git_mkdtemp()
</content>
</entry>
<entry>
<title>compat: remove gitmkdtemp()</title>
<updated>2025-12-06T22:28:13Z</updated>
<author>
<name>René Scharfe</name>
<email>l.s.r@web.de</email>
</author>
<published>2025-12-06T13:35:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=10bba537c4c23e713af05be700748c6a3c25bf68'/>
<id>urn:sha1:10bba537c4c23e713af05be700748c6a3c25bf68</id>
<content type='text'>
gitmkdtemp() has become a trivial wrapper around git_mkdtemp().  Remove
this now unnecessary layer of indirection.

Signed-off-by: René Scharfe &lt;l.s.r@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>cmake: stop trying to build the reftable and xdiff libraries</title>
<updated>2025-11-17T22:18:28Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2025-11-17T20:40:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b0d5c88cca3d67fd020d1e71fb04380cd15f5e55'/>
<id>urn:sha1:b0d5c88cca3d67fd020d1e71fb04380cd15f5e55</id>
<content type='text'>
In the `en/make-libgit-a` topic branch, more precisely in the commits
f3b4c89d59f1 (make: delete REFTABLE_LIB, add reftable to LIB_OBJS,
2025-10-02) and cf680cdb9543 (make: delete XDIFF_LIB, add xdiff to
LIB_OBJS, 2025-10-02), the strategy to build three static libraries was
rethought, and instead only one static library is now built.

This is good.

However, the CMake definition was not changed accordingly, and now
CMake-based builds fail thusly:

  [...]
  Generating hook-list.h
  CMake Error at CMakeLists.txt:122 (string):
    string sub-command REPLACE requires at least four arguments.
  Call Stack (most recent call first):
    CMakeLists.txt:711 (parse_makefile_for_sources)

  CMake Error at CMakeLists.txt:122 (string):
    string sub-command REPLACE requires at least four arguments.
  Call Stack (most recent call first):
    CMakeLists.txt:717 (parse_makefile_for_sources)

  -- Configuring incomplete, errors occurred!

Fix that by removing the parts that expect the reftable and xdiff
objects to be defined separately in the Makefile, still.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>cmake: accommodate for `UNIT_TEST_SOURCES`</title>
<updated>2025-08-17T16:12:53Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2025-08-03T21:24:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ba8bef458c9626b01a4d730b23336e82ae83fb40'/>
<id>urn:sha1:ba8bef458c9626b01a4d730b23336e82ae83fb40</id>
<content type='text'>
As part of 9bbc981c6f2 (t/unit-tests: finalize migration of
reftable-related tests, 2025-07-24), the explicit list of
`UNIT_TEST_PROGRAMS` was turned into a wildcard pattern-derived list.

Let's do the same in the CMake definition.

This fixes build errors with symptoms like this:

  CMake Error at CMakeLists.txt:132 (string):
    string sub-command REPLACE requires at least four arguments.
  Call Stack (most recent call first):
    CMakeLists.txt:1037 (parse_makefile_for_scripts)

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
