Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 1 | DESCRIPTION = "OpenGL CTS" |
| 2 | |
| 3 | require khronos-cts.inc |
Andrew Geissler | f103a7f | 2021-05-07 16:09:40 -0500 | [diff] [blame] | 4 | # opengl-es-cts-3.2.7.0 |
| 5 | SRCREV_vk-gl-cts = "7cba7113c40f2ff03573c8c2c90661b2249e04fa" |
| 6 | SRCREV_amber = "4d0115cccfcb3b73d20b6513b1c40748e6403c50" |
| 7 | SRCREV_glslang = "ffccefddfd9a02ec0c0b6dd04ef5e1042279c97f" |
| 8 | SRCREV_spirv-headers = "104ecc356c1bea4476320faca64440cd1df655a3" |
| 9 | SRCREV_spirv-tools = "cd590fa3341284cd6d1ee82366155786cfd44c96" |
Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 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 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 29 | SECURITY_CFLAGS:riscv64 = "${SECURITY_NOPIE_CFLAGS}" |
Andrew Geissler | 4b7c115 | 2020-11-30 19:55:29 -0600 | [diff] [blame] | 30 | LTO = "" |
| 31 | |