Repository navigation
Bundle virglrenderer only when libkrun links it - #184
Open
thejoeejoee wants to merge 1 commit into
Open
thejoeejoee wants to merge 1 commit into
thejoeejoee wants to merge 1 commit into
Conversation
The Homebrew libkrun 1.19.8 bottle links MoltenVK and libepoxy directly and no longer depends on libvirglrenderer, so the otool lookup came back empty and build-runner-darwin failed with 'cp: : No such file or directory'. Copy, rewrite, sign and package libvirglrenderer.1.dylib only when libkrun references it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
Package (macOS arm64)job fails onmain(since #175) and on every open PR withcp: : No such file or directoryinbuild-runner-darwin.The Homebrew libkrun 1.19.8 bottle links MoltenVK and libepoxy directly and no longer depends on
libvirglrenderer, sootool -L libkrun.1.dylib | awk '/libvirglrenderer/'prints nothing and the copy fails.build-runner-darwincopieslibvirglrenderer.1.dylibonly when libkrun links it (and removes a stale copy from an earlier build); the id rewrite, dependency rewrite, rpath cleanup, signing and Homebrew-reference check skip it when absent.package-runtime-darwinadds it to the tarball only when present.generates, since it is now optional.Testing
Package (macOS arm64)on this PR, including the bundle smoke test (dyld must load every library from the extracted bundle).