* [PATCH v2] vulkan-validation-layers: cleanup recipe
@ 2023-06-14 6:45 Vincent Davis Jr
2023-06-14 6:49 ` Vincent Davis Jr
0 siblings, 1 reply; 2+ messages in thread
From: Vincent Davis Jr @ 2023-06-14 6:45 UTC (permalink / raw)
To: openembedded-core; +Cc: Vincent Davis Jr
Commit doesn't change build behavior
* Removes ${libdir} from FILES:${PN} as its not required.
* Updates PACKAGECONFIG to uses just one @bb.utils.filter call.
* Updates GLSLANG_INSTALL_DIR to <recipe-sysroot>/lib${64} as
that contains the actual directory of the glslang .cmake
config files.
Signed-off-by: Vincent Davis Jr <vince@underview.tech>
---
.../vulkan/vulkan-validation-layers_1.3.243.0.bb | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/meta/recipes-graphics/vulkan/vulkan-validation-layers_1.3.243.0.bb b/meta/recipes-graphics/vulkan/vulkan-validation-layers_1.3.243.0.bb
index 6e1ef7a05d..bfb4b370b8 100644
--- a/meta/recipes-graphics/vulkan/vulkan-validation-layers_1.3.243.0.bb
+++ b/meta/recipes-graphics/vulkan/vulkan-validation-layers_1.3.243.0.bb
@@ -23,7 +23,7 @@ DEPENDS = "vulkan-headers vulkan-loader spirv-headers spirv-tools glslang"
EXTRA_OECMAKE = "\
-DBUILD_TESTS=OFF \
-DUSE_ROBIN_HOOD_HASHING=OFF \
- -DGLSLANG_INSTALL_DIR=${STAGING_DATADIR} \
+ -DGLSLANG_INSTALL_DIR=${STAGING_LIBDIR} \
-DVULKAN_HEADERS_INSTALL_DIR=${STAGING_EXECPREFIXDIR} \
-DSPIRV_HEADERS_INSTALL_DIR=${STAGING_EXECPREFIXDIR} \
"
@@ -31,14 +31,11 @@ EXTRA_OECMAKE = "\
PACKAGECONFIG[x11] = "-DBUILD_WSI_XLIB_SUPPORT=ON -DBUILD_WSI_XCB_SUPPORT=ON, -DBUILD_WSI_XLIB_SUPPORT=OFF -DBUILD_WSI_XCB_SUPPORT=OFF, libxcb libx11 libxrandr"
PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SUPPORT=OFF, wayland"
-PACKAGECONFIG ?= "\
- ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \
- ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \
- "
+PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'x11 wayland', d)}"
inherit cmake features_check pkgconfig
-FILES:${PN} += "${datadir}/vulkan ${libdir}"
+FILES:${PN} += "${datadir}/vulkan"
SOLIBS = ".so"
FILES_SOLIBSDEV = ""
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] vulkan-validation-layers: cleanup recipe
2023-06-14 6:45 [PATCH v2] vulkan-validation-layers: cleanup recipe Vincent Davis Jr
@ 2023-06-14 6:49 ` Vincent Davis Jr
0 siblings, 0 replies; 2+ messages in thread
From: Vincent Davis Jr @ 2023-06-14 6:49 UTC (permalink / raw)
To: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 182 bytes --]
As found in meta-freescale
https://github.com/Freescale/meta-freescale/pull/1573
Can't update VULKAN_HEADERS_INSTALL_DIR as certain build environments will fail.
If changed.
[-- Attachment #2: Type: text/html, Size: 301 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-14 6:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-14 6:45 [PATCH v2] vulkan-validation-layers: cleanup recipe Vincent Davis Jr
2023-06-14 6:49 ` Vincent Davis Jr
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.