blob: 184547aa76c8415251e390da7159edee87c4922c [file] [log] [blame]
Andrew Geissler748a4832020-07-24 16:24:21 -05001DESCRIPTION = "OpenGL CTS"
2
3require khronos-cts.inc
Andrew Geisslerd688a012020-09-18 13:36:00 -05004# opengl-es-cts-3.2.6.1
5SRCREV_vk-gl-cts = "7e023f81b4fff54b558882fe739d7c959d0a02a8"
Andrew Geissler748a4832020-07-24 16:24:21 -05006SRCREV_amber = "d26ee22dd7faab1845a531d410f7ec1db407402a"
7SRCREV_glslang = "c538b5d796fb24dd418fdd650c7f76e56bcc3dd8"
8SRCREV_spirv-headers = "e4322e3be589e1ddd44afb20ea842a977c1319b8"
9SRCREV_spirv-tools = "1eb89172a82b436d8037e8a8c29c80f7e1f7df74"
10SRC_URI[renderdoc.sha256sum] = "e7b5f0aa5b1b0eadc63a1c624c0ca7f5af133aa857d6a4271b0ef3d0bdb6868e"
11
Andrew Geissler97771a32021-03-05 15:23:11 -060012SRC_URI += "file://0001-Do-not-error-on-uninitialized-warnings.patch"
13
Andrew Geissler748a4832020-07-24 16:24:21 -050014S = "${WORKDIR}/git"
15
16do_install() {
17 install -d ${D}/${CTSDIR}
18 cp -r ${B}/external/openglcts/modules/* ${D}/${CTSDIR}
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050019
20 install -m 0755 ${B}/modules/egl/deqp-egl ${D}/${CTSDIR}
21 install -m 0755 ${B}/modules/gles2/deqp-gles2 ${D}/${CTSDIR}
22 install -m 0755 ${B}/modules/gles3/deqp-gles3 ${D}/${CTSDIR}
23 install -m 0755 ${B}/modules/gles31/deqp-gles31 ${D}/${CTSDIR}
24 install -m 0755 ${B}/modules/internal/de-internal-tests ${D}/${CTSDIR}
25
Andrew Geissler748a4832020-07-24 16:24:21 -050026 rm -r ${D}/${CTSDIR}/*.a ${D}/${CTSDIR}/cmake_install.cmake ${D}/${CTSDIR}/CMakeFiles
27 rm -r ${D}/${CTSDIR}/*/*.a ${D}/${CTSDIR}/*/cmake_install.cmake ${D}/${CTSDIR}/*/CMakeFiles
28 rm -r ${D}/${CTSDIR}/common/subgroups/*.a ${D}/${CTSDIR}/common/subgroups/cmake_install.cmake ${D}/${CTSDIR}/common/subgroups/CMakeFiles
29}
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050030
31SECURITY_CFLAGS_riscv64 = "${SECURITY_NOPIE_CFLAGS}"
Andrew Geissler4b7c1152020-11-30 19:55:29 -060032LTO = ""
33