Skip to content
Snippets Groups Projects
Commit b099b960 authored by Ludovico de Nittis's avatar Ludovico de Nittis
Browse files

runtime: correctly handle ICD for different ABI even without subdirs


Previously we used the empty directory as an indicator that the capture
of the library failed, but this worked only if we always started with an
empty directory. And this is not the case when we are not using a
subdir.

For this reason, even if the capture of a library failed, we didn't set
its "kinds" to "NONEXISTENT", and this could have leaded to errors like
having duplicated Vulkan implicit layer JSON for the same name and
different "library_path", one pointing to the correct ABI and the other
to the wrong one.

Fixes: #45

Signed-off-by: default avatarLudovico de Nittis <ludovico.denittis@collabora.com>
parent 8af71a32
No related branches found
No related tags found
1 merge request!202runtime: correctly handle ICD for different ABI even without subdirs
Pipeline #6160 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment