Skip to content

Bundle GPU dylibs for portable macOS builds#43

Merged
JAORMX merged 1 commit intomainfrom
bundling
Mar 12, 2026
Merged

Bundle GPU dylibs for portable macOS builds#43
JAORMX merged 1 commit intomainfrom
bundling

Conversation

@jhrozek
Copy link
Contributor

@jhrozek jhrozek commented Mar 12, 2026

Add libepoxy, virglrenderer, and MoltenVK to the macOS dylib bundling
pipeline alongside libkrun/libkrunfw. All dylibs get LC_ID_DYLIB
rewritten to @loader_path, cross-library references patched, stale
Homebrew rpaths removed, and ad-hoc codesigned. A verification step
ensures no /opt/homebrew references remain.

Extend RuntimeBundle() with a variadic extraLibs parameter so the
extract layer can handle additional dylibs without breaking existing
callers.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

Add libepoxy, virglrenderer, and MoltenVK to the macOS dylib bundling
pipeline alongside libkrun/libkrunfw. All dylibs get LC_ID_DYLIB
rewritten to @loader_path, cross-library references patched, stale
Homebrew rpaths removed, and ad-hoc codesigned. A verification step
ensures no /opt/homebrew references remain.

Extend RuntimeBundle() with a variadic extraLibs parameter so the
extract layer can handle additional dylibs without breaking existing
callers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@JAORMX JAORMX merged commit 1c4cf39 into main Mar 12, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants