diff options
Diffstat (limited to 'meta/recipes-graphics/vulkan/vulkan-validation-layers_1.3.243.0.bb')
-rw-r--r-- | meta/recipes-graphics/vulkan/vulkan-validation-layers_1.3.243.0.bb | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/meta/recipes-graphics/vulkan/vulkan-validation-layers_1.3.243.0.bb b/meta/recipes-graphics/vulkan/vulkan-validation-layers_1.3.243.0.bb new file mode 100644 index 0000000000..6e1ef7a05d --- /dev/null +++ b/meta/recipes-graphics/vulkan/vulkan-validation-layers_1.3.243.0.bb | |||
@@ -0,0 +1,51 @@ | |||
1 | SUMMARY = "Vulkan Validation layers" | ||
2 | DESCRIPTION = "Khronos official Vulkan validation layers to assist developers \ | ||
3 | in verifying that their applications correctly use the Vulkan API" | ||
4 | HOMEPAGE = "https://www.khronos.org/vulkan/" | ||
5 | BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-ValidationLayers" | ||
6 | SECTION = "libs" | ||
7 | |||
8 | LICENSE = "Apache-2.0" | ||
9 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8df9e8826734226d08cb412babfa599c" | ||
10 | |||
11 | SRC_URI = "git://git@github.com/KhronosGroup/Vulkan-ValidationLayers.git;branch=sdk-1.3.243;protocol=https" | ||
12 | SRCREV = "4ac0fd8e6cb3d49105d707d9ec07f0f3aa0943d6" | ||
13 | |||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | REQUIRED_DISTRO_FEATURES = "vulkan" | ||
17 | |||
18 | DEPENDS = "vulkan-headers vulkan-loader spirv-headers spirv-tools glslang" | ||
19 | |||
20 | # BUILD_TESTS - Not required for OE builds | ||
21 | # USE_ROBIN_HOOD_HASHING - Provides substantial performance improvements on all platforms. | ||
22 | # Yocto project doesn't contain a recipe for package so disabled it. | ||
23 | EXTRA_OECMAKE = "\ | ||
24 | -DBUILD_TESTS=OFF \ | ||
25 | -DUSE_ROBIN_HOOD_HASHING=OFF \ | ||
26 | -DGLSLANG_INSTALL_DIR=${STAGING_DATADIR} \ | ||
27 | -DVULKAN_HEADERS_INSTALL_DIR=${STAGING_EXECPREFIXDIR} \ | ||
28 | -DSPIRV_HEADERS_INSTALL_DIR=${STAGING_EXECPREFIXDIR} \ | ||
29 | " | ||
30 | |||
31 | PACKAGECONFIG[x11] = "-DBUILD_WSI_XLIB_SUPPORT=ON -DBUILD_WSI_XCB_SUPPORT=ON, -DBUILD_WSI_XLIB_SUPPORT=OFF -DBUILD_WSI_XCB_SUPPORT=OFF, libxcb libx11 libxrandr" | ||
32 | PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SUPPORT=OFF, wayland" | ||
33 | |||
34 | PACKAGECONFIG ?= "\ | ||
35 | ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \ | ||
36 | ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \ | ||
37 | " | ||
38 | |||
39 | inherit cmake features_check pkgconfig | ||
40 | |||
41 | FILES:${PN} += "${datadir}/vulkan ${libdir}" | ||
42 | |||
43 | SOLIBS = ".so" | ||
44 | FILES_SOLIBSDEV = "" | ||
45 | |||
46 | # These recipes need to be updated in lockstep with each other: | ||
47 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, | ||
48 | # vulkan-validation-layers, spirv-headers, spirv-tools | ||
49 | # The tags versions should always be sdk-x.y.z, as this is what | ||
50 | # upstream considers a release. | ||
51 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" | ||