Skip to contentSkip to conversation

vulkan-validation-layers: add new recipe v1.3.243.0

PATCH Superseded Vincent Davis Jr 1 participant 2 messages Jun 3, 2023

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vulkan-validation-layers: add new recipe v1.3.243.0

Recipe added with a fix to

error: '../recipe-sysroot/usr/lib', needed by 'layers/libVkLayer_khronos_validation.so', missing and no known rule to make it

Taking a look into ${B}/build.ninja
LINK_LIBRARIES = \
layers/libVkLayer_utils.a
<absolute path>/recipe-sysroot/usr/lib64/libSPIRV-Tools-opt.so <absolute path>/recipe-sysroot/usr/lib64/libSPIRV-Tools.so <absolute path>/recipe-sysroot/usr/lib

"../recipe-sysroot/usr/lib" doesn't exists when base_libdir = lib64. After research there appears to be no solution to fix "../recipe-sysroot/usr/lib" from being included in cmake LINK_LIBARIES.

Solution is to temporarily create it "../recipes-sysroot/usr/lib" to bypass build issues.

---
 meta/conf/distro/include/maintainers.inc      |  1 +
 .../vulkan-validation-layers_1.3.243.0.bb     | 73 +++++++++++++++++++
 2 files changed, 74 insertions(+)
 create mode 100644 meta/recipes-graphics/vulkan/vulkan-validation-layers_1.3.243.0.bb
meta/conf/distro/include/maintainers.inc +1 -0
index 0f7b7287bb..b06ae43dac 100644
@@ -827,6 +827,7 @@ RECIPE_MAINTAINER:pn-vulkan-headers = "Anuj Mittal <[email protected]>"
 RECIPE_MAINTAINER:pn-vulkan-loader = "Anuj Mittal <[email protected]>"
 RECIPE_MAINTAINER:pn-vulkan-samples = "Ross Burton <[email protected]>"
 RECIPE_MAINTAINER:pn-vulkan-tools = "Anuj Mittal <[email protected]>"
+RECIPE_MAINTAINER:pn-vulkan-validation-layers = "Vincent Davis Jr <[email protected]>"
 RECIPE_MAINTAINER:pn-waffle = "Ross Burton <[email protected]>"
 RECIPE_MAINTAINER:pn-watchdog = "Alexander Kanavin <[email protected]>"
 RECIPE_MAINTAINER:pn-watchdog-config = "Alexander Kanavin <[email protected]>"
meta/recipes-graphics/vulkan/vulkan-validation-layers_1.3.243.0.bb new file +73 -0

73 lines not on this page · raw message

Signature · 1 line
2.34.1