Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 1 | DESCRIPTION = "OpenGL CTS" |
| 2 | |
| 3 | require khronos-cts.inc |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 4 | # opengl-es-cts-3.2.6.1 |
| 5 | SRCREV_vk-gl-cts = "7e023f81b4fff54b558882fe739d7c959d0a02a8" |
Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 6 | SRCREV_amber = "d26ee22dd7faab1845a531d410f7ec1db407402a" |
| 7 | SRCREV_glslang = "c538b5d796fb24dd418fdd650c7f76e56bcc3dd8" |
| 8 | SRCREV_spirv-headers = "e4322e3be589e1ddd44afb20ea842a977c1319b8" |
| 9 | SRCREV_spirv-tools = "1eb89172a82b436d8037e8a8c29c80f7e1f7df74" |
| 10 | SRC_URI[renderdoc.sha256sum] = "e7b5f0aa5b1b0eadc63a1c624c0ca7f5af133aa857d6a4271b0ef3d0bdb6868e" |
| 11 | |
| 12 | S = "${WORKDIR}/git" |
| 13 | |
| 14 | do_install() { |
| 15 | install -d ${D}/${CTSDIR} |
| 16 | cp -r ${B}/external/openglcts/modules/* ${D}/${CTSDIR} |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 17 | |
| 18 | install -m 0755 ${B}/modules/egl/deqp-egl ${D}/${CTSDIR} |
| 19 | install -m 0755 ${B}/modules/gles2/deqp-gles2 ${D}/${CTSDIR} |
| 20 | install -m 0755 ${B}/modules/gles3/deqp-gles3 ${D}/${CTSDIR} |
| 21 | install -m 0755 ${B}/modules/gles31/deqp-gles31 ${D}/${CTSDIR} |
| 22 | install -m 0755 ${B}/modules/internal/de-internal-tests ${D}/${CTSDIR} |
| 23 | |
Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 24 | rm -r ${D}/${CTSDIR}/*.a ${D}/${CTSDIR}/cmake_install.cmake ${D}/${CTSDIR}/CMakeFiles |
| 25 | rm -r ${D}/${CTSDIR}/*/*.a ${D}/${CTSDIR}/*/cmake_install.cmake ${D}/${CTSDIR}/*/CMakeFiles |
| 26 | rm -r ${D}/${CTSDIR}/common/subgroups/*.a ${D}/${CTSDIR}/common/subgroups/cmake_install.cmake ${D}/${CTSDIR}/common/subgroups/CMakeFiles |
| 27 | } |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 28 | |
| 29 | SECURITY_CFLAGS_riscv64 = "${SECURITY_NOPIE_CFLAGS}" |