Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 1 | LICENSE = "Apache-2.0" |
| 2 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
| 3 | |
| 4 | SRC_URI = "\ |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 5 | git://github.com/KhronosGroup/VK-GL-CTS.git;protocol=https;name=vk-gl-cts;nobranch=1 \ |
Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 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 | |
| 13 | S = "${WORKDIR}/git" |
| 14 | |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 15 | SRCREV_FORMAT = "vk-gl-cts_amber_glslang_spirv-headers_spirv-tools" |
Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 16 | |
| 17 | S = "${WORKDIR}/git" |
| 18 | |
Andrew Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 19 | inherit pkgconfig cmake features_check |
| 20 | |
| 21 | REQUIRED_DISTRO_FEATURES += "opengl" |
Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 22 | |
| 23 | DEPENDS += "libpng zlib virtual/libgles2 virtual/egl" |
| 24 | |
Andrew Geissler | f103a7f | 2021-05-07 16:09:40 -0500 | [diff] [blame] | 25 | SRC_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 III | b95905d | 2021-06-02 12:40:56 -0700 | [diff] [blame] | 27 | file://0001-vulkancts.patch \ |
Andrew Geissler | f103a7f | 2021-05-07 16:09:40 -0500 | [diff] [blame] | 28 | " |
| 29 | |
Andrew Geissler | 748a483 | 2020-07-24 16:24:21 -0500 | [diff] [blame] | 30 | SRC_URI_append_libc-musl = "\ |
| 31 | file://fix-musl.patch \ |
| 32 | " |
| 33 | DEPENDS_append_libc-musl = " libexecinfo" |
| 34 | |
| 35 | SRC_URI_append_toolchain-clang = "\ |
| 36 | file://fix-clang-private-operator.patch \ |
| 37 | " |
| 38 | |
| 39 | EXTRA_OECMAKE_append = " -DDEQP_TARGET=surfaceless" |
| 40 | |
| 41 | CTSDIR = "/usr/lib/${BPN}" |
| 42 | |
| 43 | FILES_${PN} += "${CTSDIR}" |