blob: bd75cdb1f41c2d3466dd0ac69a1e26ba34988dd6 [file] [log] [blame]
Andrew Geissler748a4832020-07-24 16:24:21 -05001LICENSE = "Apache-2.0"
2LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
3
4SRC_URI = "\
5 git://github.com/KhronosGroup/VK-GL-CTS.git;protocol=https;tag=${BPN}-${PV};name=vk-gl-cts \
6 git://github.com/google/amber;protocol=https;destsuffix=git/external/amber/src;name=amber;branch=main \
7 git://github.com/KhronosGroup/glslang.git;protocol=https;destsuffix=git/external/glslang/src;name=glslang \
8 git://github.com/KhronosGroup/SPIRV-Headers.git;protocol=https;destsuffix=git/external/spirv-headers/src;name=spirv-headers \
9 git://github.com/KhronosGroup/SPIRV-Tools.git;protocol=https;destsuffix=git/external/spirv-tools/src;name=spirv-tools \
10 https://raw.githubusercontent.com/baldurk/renderdoc/v1.1/renderdoc/api/app/renderdoc_app.h;subdir=git/external/renderdoc/src;name=renderdoc \
11"
12
13S = "${WORKDIR}/git"
14
15SRCREV_FORMAT = "vk-gl-cts"
16
17S = "${WORKDIR}/git"
18
19inherit pkgconfig cmake
20
21DEPENDS += "libpng zlib virtual/libgles2 virtual/egl"
22
23SRC_URI_append_libc-musl = "\
24 file://fix-musl.patch \
25"
26DEPENDS_append_libc-musl = " libexecinfo"
27
28SRC_URI_append_toolchain-clang = "\
29 file://fix-clang-private-operator.patch \
30"
31
32EXTRA_OECMAKE_append = " -DDEQP_TARGET=surfaceless"
33
34CTSDIR = "/usr/lib/${BPN}"
35
36FILES_${PN} += "${CTSDIR}"