blob: f6192147311c9c9be276c49861b9419397bf3d77 [file] [log] [blame]
Andrew Geissler748a4832020-07-24 16:24:21 -05001LICENSE = "Apache-2.0"
2LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
3
4SRC_URI = "\
Andrew Geisslerd688a012020-09-18 13:36:00 -05005 git://github.com/KhronosGroup/VK-GL-CTS.git;protocol=https;name=vk-gl-cts;nobranch=1 \
Andrew Geissler748a4832020-07-24 16:24:21 -05006 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
Andrew Geisslerd688a012020-09-18 13:36:00 -050015SRCREV_FORMAT = "vk-gl-cts_amber_glslang_spirv-headers_spirv-tools"
Andrew Geissler748a4832020-07-24 16:24:21 -050016
17S = "${WORKDIR}/git"
18
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050019inherit pkgconfig cmake features_check
20
21REQUIRED_DISTRO_FEATURES += "opengl"
Andrew Geissler748a4832020-07-24 16:24:21 -050022
23DEPENDS += "libpng zlib virtual/libgles2 virtual/egl"
24
Andrew Geisslerf103a7f2021-05-07 16:09:40 -050025SRC_URI += "file://0001-Workaround-for-GCC-11-uninit-variable-warnings-946.patch;patchdir=external/amber/src \
26 file://0001-Include-limits-header-for-numeric_limits.patch;patchdir=external/vulkancts \
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070027 file://0001-vulkancts.patch \
Andrew Geisslerf103a7f2021-05-07 16:09:40 -050028"
29
Patrick Williams213cb262021-08-07 19:21:33 -050030SRC_URI:append:libc-musl = "\
Andrew Geissler748a4832020-07-24 16:24:21 -050031 file://fix-musl.patch \
32"
Patrick Williams213cb262021-08-07 19:21:33 -050033DEPENDS:append:libc-musl = " libexecinfo"
Andrew Geissler748a4832020-07-24 16:24:21 -050034
Patrick Williams213cb262021-08-07 19:21:33 -050035SRC_URI:append:toolchain-clang = "\
Andrew Geissler748a4832020-07-24 16:24:21 -050036 file://fix-clang-private-operator.patch \
37"
38
Patrick Williams213cb262021-08-07 19:21:33 -050039EXTRA_OECMAKE:append = " -DDEQP_TARGET=surfaceless"
Andrew Geissler748a4832020-07-24 16:24:21 -050040
41CTSDIR = "/usr/lib/${BPN}"
42
Patrick Williams213cb262021-08-07 19:21:33 -050043FILES:${PN} += "${CTSDIR}"