blob: 0656d724b4695bedcb6b6187812b17bbf2b9678c [file] [log] [blame]
Andrew Geissler87f5cff2022-09-30 13:13:31 -05001DESCRIPTION = "OpenGL CTS"
2
3require khronos-cts.inc
Patrick Williams520786c2023-06-25 16:20:36 -05004# opengl-es-cts-3.2.9.3
5SRCREV_vk-gl-cts = "7f5fb62245d535a1fc0bf50b2c7e5a342dc551fe"
6SRCREV_amber = "933ecb4d6288675a92eb1650e0f52b1d7afe8273"
7SRCREV_glslang = "a0ad0d7067521fff880e36acfb8ce453421c3f25"
8SRCREV_spirv-headers = "87d5b782bec60822aa878941e6b13c0a9a954c9b"
9SRCREV_spirv-tools = "f98473ceeb1d33700d01e20910433583e5256030"
10SRCREV_ESExtractor = "ce5d7ebcf0ebb0d78385ee4cc34653eb6764bfc4"
Andrew Geissler87f5cff2022-09-30 13:13:31 -050011# Not yet needed
12SRCREV_jsoncpp = "9059f5cad030ba11d37818847443a53918c327b1"
Patrick Williams520786c2023-06-25 16:20:36 -050013SRCREV_vulkan-docs = "9a2e576a052a1e65a5d41b593e693ff02745604b"
14SRCREV_video-parser = "7d68747d3524842afaf050c5e00a10f5b8c07904"
Andrew Geissler87f5cff2022-09-30 13:13:31 -050015SRC_URI[renderdoc.sha256sum] = "e7b5f0aa5b1b0eadc63a1c624c0ca7f5af133aa857d6a4271b0ef3d0bdb6868e"
16
Patrick Williams73bd93f2024-02-20 08:07:48 -060017SRC_URI += "\
18 git://github.com/nvpro-samples/vk_video_samples.git;protocol=https;destsuffix=git/external/video-parser/src;name=video-parser;branch=main \
19 file://gen-framework-path.patch \
20 "
Andrew Geissler87f5cff2022-09-30 13:13:31 -050021S = "${WORKDIR}/git"
22
23do_install() {
24 install -d ${D}/${CTSDIR}
25 cp -r ${B}/external/openglcts/modules/* ${D}/${CTSDIR}
26
27 install -m 0755 ${B}/modules/egl/deqp-egl ${D}/${CTSDIR}
28 install -m 0755 ${B}/modules/gles2/deqp-gles2 ${D}/${CTSDIR}
29 install -m 0755 ${B}/modules/gles3/deqp-gles3 ${D}/${CTSDIR}
30 install -m 0755 ${B}/modules/gles31/deqp-gles31 ${D}/${CTSDIR}
31 install -m 0755 ${B}/modules/internal/de-internal-tests ${D}/${CTSDIR}
32
33 rm -rf ${D}/${CTSDIR}/*.a ${D}/${CTSDIR}/cmake_install.cmake ${D}/${CTSDIR}/CMakeFiles
34 rm -rf ${D}/${CTSDIR}/*/*.a ${D}/${CTSDIR}/*/cmake_install.cmake ${D}/${CTSDIR}/*/CMakeFiles
35 rm -rf ${D}/${CTSDIR}/common/subgroups/*.a ${D}/${CTSDIR}/common/subgroups/cmake_install.cmake ${D}/${CTSDIR}/common/subgroups/CMakeFiles
36}
37
38SECURITY_CFLAGS:riscv64 = "${SECURITY_NOPIE_CFLAGS}"
39LTO = ""
40