xref: /openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.3.9.2.bb (revision 8460358c3d24c71d9d38fd126c745854a6301564)
1DESCRIPTION = "Vulkan CTS"
2
3require khronos-cts.inc
4
5SRCREV_vk-gl-cts = "24c1b1498ba4f05777f47541968ffe686265c645"
6
7require vulkan-cts-sources.inc
8
9# Workaround an optimization bug that breaks createMeshShaderMiscTestsEXT
10OECMAKE_CXX_FLAGS:remove:toolchain-gcc = "-O2"
11
12REQUIRED_DISTRO_FEATURES = "vulkan"
13inherit features_check
14
15DEPENDS += " vulkan-loader"
16
17EXTRA_OECMAKE += "-DSELECTED_BUILD_TARGETS="deqp-vk deqp-vksc""
18
19do_install() {
20	install -d ${D}/${CTSDIR}
21	cp -r ${B}/external/vulkancts/modules/vulkan/* ${D}/${CTSDIR}/
22	rm -rf ${D}/${CTSDIR}/*.a ${D}/${CTSDIR}/cmake_install.cmake ${D}/${CTSDIR}/CMakeFiles
23	rm -rf ${D}/${CTSDIR}/*/*.a ${D}/${CTSDIR}/*/cmake_install.cmake ${D}/${CTSDIR}/*/CMakeFiles
24}
25