Registry Mirror
Skip to content

Conversation

@garymm

@garymm garymm commented Sep 19, 2022

Copy link
Copy Markdown

The previous attempt to use a hermetic copy of it didn't work in all cases. The dylib was linked properly, but some Vulkan libraries at runtime access it through the "loader driver interface", which requires an icd.d directory to be present in a particular path.

See
https://vulkan.lunarg.com/doc/view/1.3.211.0/mac/LoaderDriverInterface.html#user-content-driver-discovery-on-macos

So for now we'll just rely on the user to install MoltenVK (probably via the LunarG Vulkan SDK), but I hope that maybe this is fixable once bazelbuild/bazel#13930 is fixed.

The previous attempt to use a hermetic copy of it didn't work in all
cases. The dylib was linked properly, but some Vulkan libraries at
runtime access it through the "loader driver interface", which requires
an `icd.d` directory to be present in a particular path.

See
https://vulkan.lunarg.com/doc/view/1.3.211.0/mac/LoaderDriverInterface.html#user-content-driver-discovery-on-macos

So for now we'll just rely on the user to install MoltenVK
(probably via the LunarG Vulkan SDK), but I hope that maybe this is
fixable once bazelbuild/bazel#13930 is fixed.
@rcoreilly
rcoreilly merged commit c67065a into goki:master Sep 28, 2022
@garymm
garymm deleted the bazel-hermetic-macos-moltenvk branch September 28, 2022 22:22
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