diff options
Diffstat (limited to 'meta/recipes-graphics/vulkan/vulkan-validation-layers_1.3.283.0.bb')
-rw-r--r-- | meta/recipes-graphics/vulkan/vulkan-validation-layers_1.3.283.0.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-graphics/vulkan/vulkan-validation-layers_1.3.283.0.bb b/meta/recipes-graphics/vulkan/vulkan-validation-layers_1.3.283.0.bb new file mode 100644 index 0000000000..2f1efba856 --- /dev/null +++ b/meta/recipes-graphics/vulkan/vulkan-validation-layers_1.3.283.0.bb | |||
@@ -0,0 +1,49 @@ | |||
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 & MIT" | ||
9 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cd3c0bc366cd9b6a906e22f0bcb5910f" | ||
10 | |||
11 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-ValidationLayers.git;branch=vulkan-sdk-1.3.283;protocol=https" | ||
12 | SRCREV = "d5bed3e26b3d487e8d21f0cc39039351eac921a7" | ||
13 | |||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | REQUIRED_DISTRO_FEATURES = "vulkan" | ||
17 | |||
18 | DEPENDS = "vulkan-headers vulkan-loader spirv-headers spirv-tools glslang vulkan-utility-libraries" | ||
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_LIBDIR} \ | ||
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 ?= "${@bb.utils.filter('DISTRO_FEATURES', 'x11 wayland', d)}" | ||
35 | |||
36 | inherit cmake features_check pkgconfig | ||
37 | |||
38 | FILES:${PN} += "${datadir}/vulkan" | ||
39 | |||
40 | SOLIBS = ".so" | ||
41 | FILES_SOLIBSDEV = "" | ||
42 | |||
43 | # These recipes need to be updated in lockstep with each other: | ||
44 | # glslang, vulkan-headers, vulkan-loader, vulkan-tools, | ||
45 | # vulkan-validation-layers, spirv-headers, spirv-tools, | ||
46 | # vulkan-utility-libraries, vulkan-volk. | ||
47 | # The tags versions should always be sdk-x.y.z, as this is what | ||
48 | # upstream considers a release. | ||
49 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" | ||