diff mbox series

[6/7] vk-gl-cts: control what targets get built

Message ID 20241209172626.4144686-6-ross.burton@arm.com
State Accepted
Headers show
Series [1/7] etcd: don't set UPSTREAM_CHECK_COMMITS | expand

Commit Message

Ross Burton Dec. 9, 2024, 5:26 p.m. UTC
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.burton@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 mbox series

Patch

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}/