Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 1 | DESCRIPTION = "OpenGL CTS" |
| 2 | |
| 3 | require khronos-cts.inc |
| 4 | # opengl-es-cts-3.2.8.0 |
| 5 | SRCREV_vk-gl-cts = "317f467fac032b88a4789e4345421f92c4e8716d" |
| 6 | SRCREV_amber = "209d92e2c27a333e723d24497e8c7a07b2f2eb39" |
| 7 | SRCREV_glslang = "9158061398a96033c990e69156bd28c67114544b" |
| 8 | SRCREV_spirv-headers = "449bc986ba6f4c5e10e32828783f9daef2a77644" |
| 9 | SRCREV_spirv-tools = "ee30773650eca50b1cd3c913babcc2b50d7b91fd" |
| 10 | # Not yet needed |
| 11 | SRCREV_jsoncpp = "9059f5cad030ba11d37818847443a53918c327b1" |
| 12 | SRCREV_vulkan-docs = "d70e01c0be7b8a7d20b186b30b29a75b18bba75d" |
| 13 | SRC_URI[renderdoc.sha256sum] = "e7b5f0aa5b1b0eadc63a1c624c0ca7f5af133aa857d6a4271b0ef3d0bdb6868e" |
| 14 | |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame^] | 15 | SRC_URI += "file://0001-Remove-dead-variable-984.patch;patchdir=external/amber/src \ |
| 16 | file://0001-include-missing-cstdint.patch;patchdir=external/amber/src" |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 17 | |
| 18 | S = "${WORKDIR}/git" |
| 19 | |
| 20 | do_install() { |
| 21 | install -d ${D}/${CTSDIR} |
| 22 | cp -r ${B}/external/openglcts/modules/* ${D}/${CTSDIR} |
| 23 | |
| 24 | install -m 0755 ${B}/modules/egl/deqp-egl ${D}/${CTSDIR} |
| 25 | install -m 0755 ${B}/modules/gles2/deqp-gles2 ${D}/${CTSDIR} |
| 26 | install -m 0755 ${B}/modules/gles3/deqp-gles3 ${D}/${CTSDIR} |
| 27 | install -m 0755 ${B}/modules/gles31/deqp-gles31 ${D}/${CTSDIR} |
| 28 | install -m 0755 ${B}/modules/internal/de-internal-tests ${D}/${CTSDIR} |
| 29 | |
| 30 | rm -rf ${D}/${CTSDIR}/*.a ${D}/${CTSDIR}/cmake_install.cmake ${D}/${CTSDIR}/CMakeFiles |
| 31 | rm -rf ${D}/${CTSDIR}/*/*.a ${D}/${CTSDIR}/*/cmake_install.cmake ${D}/${CTSDIR}/*/CMakeFiles |
| 32 | rm -rf ${D}/${CTSDIR}/common/subgroups/*.a ${D}/${CTSDIR}/common/subgroups/cmake_install.cmake ${D}/${CTSDIR}/common/subgroups/CMakeFiles |
| 33 | } |
| 34 | |
| 35 | SECURITY_CFLAGS:riscv64 = "${SECURITY_NOPIE_CFLAGS}" |
| 36 | LTO = "" |
| 37 | |