Patrick Williams | 73bd93f | 2024-02-20 08:07:48 -0600 | [diff] [blame] | 1 | DESCRIPTION = "Vulkan CTS" |
| 2 | |
| 3 | require khronos-cts.inc |
| 4 | |
| 5 | SRC_URI += "git://github.com/Igalia/vk_video_samples.git;protocol=https;destsuffix=git/external/nvidia-video-samples/src;name=video-parser;nobranch=1" |
| 6 | |
| 7 | # vulkan-cts-1.3.7.3 |
| 8 | SRCREV_vk-gl-cts = "d71a36db16d98313c431829432a136dbda692a08" |
| 9 | SRCREV_amber = "933ecb4d6288675a92eb1650e0f52b1d7afe8273" |
| 10 | SRCREV_glslang = "c5117b328afc86e16edff6ed6afe0fe7872a7cf3" |
| 11 | SRCREV_spirv-headers = "b8b9eb8640c8c0107ba580fbcb10f969022ca32c" |
| 12 | SRCREV_spirv-tools = "bfc94f63a7adbcf8ae166f5f108ac9f69079efc0" |
| 13 | SRCREV_jsoncpp = "9059f5cad030ba11d37818847443a53918c327b1" |
| 14 | SRCREV_vulkan-docs = "b9aad705f0d9e5e6734ac2ad671d5d1de57b05e0" |
| 15 | SRC_URI[renderdoc.sha256sum] = "e7b5f0aa5b1b0eadc63a1c624c0ca7f5af133aa857d6a4271b0ef3d0bdb6868e" |
| 16 | # Not yet needed |
| 17 | SRCREV_ESExtractor = "75ffcaf55bb069f7a23764194742d2fb78c7f71f" |
| 18 | SRCREV_video-parser = "138bbe048221d315962ddf8413aa6a08cc62a381" |
| 19 | |
| 20 | SRC_URI += "file://0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch \ |
| 21 | file://0001-vulkan-cts-include-missing-cstdint.patch \ |
| 22 | " |
| 23 | |
| 24 | TOOLCHAIN = "gcc" |
| 25 | |
| 26 | S = "${WORKDIR}/git" |
| 27 | |
| 28 | REQUIRED_DISTRO_FEATURES = "vulkan" |
| 29 | inherit features_check |
| 30 | |
| 31 | DEPENDS += " vulkan-loader" |
| 32 | |
| 33 | do_install() { |
| 34 | install -d ${D}/${CTSDIR} |
| 35 | cp -r ${B}/external/vulkancts/modules/vulkan/* ${D}/${CTSDIR}/ |
| 36 | rm -rf ${D}/${CTSDIR}/*.a ${D}/${CTSDIR}/cmake_install.cmake ${D}/${CTSDIR}/CMakeFiles |
| 37 | rm -rf ${D}/${CTSDIR}/*/*.a ${D}/${CTSDIR}/*/cmake_install.cmake ${D}/${CTSDIR}/*/CMakeFiles |
| 38 | } |