Explicitly build the targets that are normally build. This seems like a
no-op, but had the advantage of not pulling in vulkan-validationlayers
which causes more fetches at configure time, and is only actually used
by the developers of the test suite.

Signed-off-by: Ross Burton <ross.bur...@arm.com>
---
 meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.11.0.bb | 2 ++
 meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.3.9.2.bb     | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.11.0.bb 
b/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.11.0.bb
index 7dd60dffd8..1a745c6cc1 100644
--- a/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.11.0.bb
+++ b/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.11.0.bb
@@ -15,6 +15,8 @@ SRCREV_vulkan-validationlayers = 
"a92629196a4fed15e59c74aa965dd47bd5ece3b7"
 SRCREV_video-parser = "6821adf11eb4f84a2168264b954c170d03237699"
 SRC_URI[renderdoc.sha256sum] = 
"e7b5f0aa5b1b0eadc63a1c624c0ca7f5af133aa857d6a4271b0ef3d0bdb6868e"
 
+EXTRA_OECMAKE += "-DSELECTED_BUILD_TARGETS="cts-runner deqp-egl deqp-gles2 
deqp-gles3 deqp-gles31 deqp-gl-shared de-internal-tests glcts""
+
 do_install() {
        install -d ${D}/${CTSDIR}
        cp -r ${B}/external/openglcts/modules/* ${D}/${CTSDIR}
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.3.9.2.bb 
b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.3.9.2.bb
index 4ba761b676..bffec29e4d 100644
--- a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.3.9.2.bb
+++ b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.3.9.2.bb
@@ -24,6 +24,8 @@ inherit features_check
 
 DEPENDS += " vulkan-loader"
 
+EXTRA_OECMAKE += "-DSELECTED_BUILD_TARGETS="deqp-vk deqp-vksc""
+
 do_install() {
        install -d ${D}/${CTSDIR}
        cp -r ${B}/external/vulkancts/modules/vulkan/* ${D}/${CTSDIR}/
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#114254): 
https://lists.openembedded.org/g/openembedded-devel/message/114254
Mute This Topic: https://lists.openembedded.org/mt/110010178/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to