Files
mac_linuxgpu/scripts
geramyloveless a64270efa5 Pin Mesa 26.2.4 for RADV, with two declared patches
third_party/mesa is Mesa at mesa-26.2.4, the latest stable release,
declared in patches/manifest.json as an optional upstream: a shallow,
partial, sparse submodule of what a RADV-only Meson build reads (about
60 MB), marked update = none so a recursive clone does not fetch it. Only
the Vulkan build needs it; scripts/bootstrap.sh --with-mesa fetches it
with the rest, --mesa-only alone, and once checked out it is kept at the
pin and patched like the Linux tree.

The patch set, 88 lines added and 9 removed in 8 files:

- radv-macos-build.patch: find libdrm through pkg-config on Darwin when
  RADV is built, select addrlib's portable type definitions instead of
  the Apple kernel driver's private header, and link RADV with
  -undefined dynamic_lookup as KosmicKrisp does.
- drm-file-ops.patch: util/os_drm.h issues requests through drmIoctl and
  wraps open, stat, mmap and munmap of DRM nodes and files in libdrm's
  drmFile* functions when libdrm defines LIBDRM_FILE_OPS; RADV's six call
  sites use the wrappers. Nothing changes for a kernel libdrm.

bootstrap.sh sets up any manifest upstream the same way now (pin fetched
by SHA, sparse before the first checkout, declared patches applied).
verify-upstream.py checks Mesa's pin, sparse set, patches and working tree
once it is checked out, and takes --only linux|mesa; lib-dext verifies the
Linux tree alone (make verify-linux), so local Mesa work cannot block a
driver build, while make verify-source checks every tree.
2026-10-03 11:19:19 -07:00
..