From: Dmitry Baryshkov <dmitry.barysh...@linaro.org>

Commonly this kind of testing tools are installed in /usr/lib
like piglit, remove version.

Signed-off-by: Dmitry Baryshkov <dmitry.barysh...@linaro.org>
Signed-off-by: Aníbal Limón <anibal.li...@linaro.org>
---
 .../vk-gl-cts/opengl-es-cts_3.2.6.1.bb        | 45 +++++++++++++++++++
 1 file changed, 45 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb

diff --git a/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb 
b/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb
new file mode 100644
index 000000000..226f70027
--- /dev/null
+++ b/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb
@@ -0,0 +1,45 @@
+DESCRIPTION = "OpenGL CTS"
+LICENSE = "Apache-2.0"
+PR = "r0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+SRC_URI = "\
+       
git://github.com/KhronosGroup/VK-GL-CTS.git;protocol=https;tag=${BPN}-${PV};name=vk-gl-cts
 \
+       
git://github.com/google/amber;protocol=https;destsuffix=git/external/amber/src;name=amber;branch=main
 \
+       
git://github.com/KhronosGroup/glslang.git;protocol=https;destsuffix=git/external/glslang/src;name=glslang
 \
+       
git://github.com/KhronosGroup/SPIRV-Headers.git;protocol=https;destsuffix=git/external/spirv-headers/src;name=spirv-headers
 \
+       
git://github.com/KhronosGroup/SPIRV-Tools.git;protocol=https;destsuffix=git/external/spirv-tools/src;name=spirv-tools
 \
+"
+
+S = "${WORKDIR}/git"
+
+SRCREV_FORMAT = "vk-gl-cts"
+SRCREV_amber = "d26ee22dd7faab1845a531d410f7ec1db407402a"
+SRCREV_glslang = "c538b5d796fb24dd418fdd650c7f76e56bcc3dd8"
+SRCREV_spirv-headers = "e4322e3be589e1ddd44afb20ea842a977c1319b8"
+SRCREV_spirv-tools = "1eb89172a82b436d8037e8a8c29c80f7e1f7df74"
+
+S = "${WORKDIR}/git"
+
+inherit pkgconfig cmake
+
+DEPENDS += "libpng zlib virtual/libgles2 virtual/egl"
+
+EXTRA_OECMAKE_append = "-DDEQP_TARGET=surfaceless"
+
+CTSDIR = "${libdir}/${BPN}"
+
+do_install() {
+       install -d ${D}/${CTSDIR}
+
+       install -m 0755 ${B}/external/openglcts/modules/cts-runner 
${D}/${CTSDIR}
+       install -m 0755 ${B}/external/openglcts/modules/glcts ${D}/${CTSDIR}
+       for dir in gl_cts gles2 gles3 gles31 gles32 ; do
+               cp -r ${B}/external/openglcts/modules/$dir ${D}/${CTSDIR}/
+       done
+       install -m 0755 ${B}/modules/gles3/deqp-gles3 ${D}/${CTSDIR}
+
+       rm -r ${D}/${CTSDIR}/*/*.a ${D}/${CTSDIR}/*/cmake_install.cmake 
${D}/${CTSDIR}/*/CMakeFiles
+}
+
+FILES_${PN} += "${CTSDIR}"
-- 
2.27.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#85701): 
https://lists.openembedded.org/g/openembedded-devel/message/85701
Mute This Topic: https://lists.openembedded.org/mt/75418821/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to