diff options
author | Tim Orling <timothy.t.orling@linux.intel.com> | 2019-07-09 10:03:35 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-10 09:56:22 +0100 |
commit | 17dab685206b6a7582520f037943800709e36b1c (patch) | |
tree | b797fe158fb4c38d6edae26409ad68f0b4aac7d3 | |
parent | e8131220eccce28dfa57287a43cf366bcdfb6677 (diff) | |
download | poky-17dab685206b6a7582520f037943800709e36b1c.tar.gz |
vulkan-tools: add recipe
Vulkan tools and utilities that can assist development by enabling
developers to verify their applications correct use of the Vulkan API.
DEPENDS on vulkan-headers and vulkan-loader.
(From OE-Core rev: c4db69fc0d8d46a396ee744fddad0300ec730f46)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/conf/distro/include/maintainers.inc | 1 | ||||
-rw-r--r-- | meta/recipes-graphics/vulkan/vulkan-tools_1.1.108.bb | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 2b96b277d1..703478a0cf 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc | |||
@@ -721,6 +721,7 @@ RECIPE_MAINTAINER_pn-vulkan = "Ross Burton <ross.burton@intel.com>" | |||
721 | RECIPE_MAINTAINER_pn-vulkan-demos = "Ross Burton <ross.burton@intel.com>" | 721 | RECIPE_MAINTAINER_pn-vulkan-demos = "Ross Burton <ross.burton@intel.com>" |
722 | RECIPE_MAINTAINER_pn-vulkan-headers = "Anuj Mittal <anuj.mittal@intel.com>" | 722 | RECIPE_MAINTAINER_pn-vulkan-headers = "Anuj Mittal <anuj.mittal@intel.com>" |
723 | RECIPE_MAINTAINER_pn-vulkan-loader = "Anuj Mittal <anuj.mittal@intel.com>" | 723 | RECIPE_MAINTAINER_pn-vulkan-loader = "Anuj Mittal <anuj.mittal@intel.com>" |
724 | RECIPE_MAINTAINER_pn-vulkan-tools = "Anuj Mittal <anuj.mittal@intel.com>" | ||
724 | RECIPE_MAINTAINER_pn-waffle = "Ross Burton <ross.burton@intel.com>" | 725 | RECIPE_MAINTAINER_pn-waffle = "Ross Burton <ross.burton@intel.com>" |
725 | RECIPE_MAINTAINER_pn-watchdog = "Alexander Kanavin <alex.kanavin@gmail.com>" | 726 | RECIPE_MAINTAINER_pn-watchdog = "Alexander Kanavin <alex.kanavin@gmail.com>" |
726 | RECIPE_MAINTAINER_pn-watchdog-config = "Alexander Kanavin <alex.kanavin@gmail.com>" | 727 | RECIPE_MAINTAINER_pn-watchdog-config = "Alexander Kanavin <alex.kanavin@gmail.com>" |
diff --git a/meta/recipes-graphics/vulkan/vulkan-tools_1.1.108.bb b/meta/recipes-graphics/vulkan/vulkan-tools_1.1.108.bb new file mode 100644 index 0000000000..26cdee3c14 --- /dev/null +++ b/meta/recipes-graphics/vulkan/vulkan-tools_1.1.108.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | SUMMARY = "Vulkan Utilities and Tools" | ||
2 | HOMEPAGE = "https://www.khronos.org/vulkan/" | ||
3 | BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-Tools" | ||
4 | SECTION = "libs" | ||
5 | |||
6 | LICENSE = "Apache-2.0" | ||
7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" | ||
8 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Tools.git;branch=sdk-${PV}" | ||
9 | SRCREV = "3ccd7f6ebae3e1919adf837718c04feb6c2acc61" | ||
10 | |||
11 | S = "${WORKDIR}/git" | ||
12 | |||
13 | inherit cmake distro_features_check | ||
14 | ANY_OF_DISTRO_FEATURES = "x11 wayland" | ||
15 | REQUIRED_DISTRO_FEATURES = "vulkan" | ||
16 | |||
17 | DEPENDS += "vulkan-headers vulkan-loader" | ||
18 | |||
19 | EXTRA_OECMAKE = "\ | ||
20 | -DBUILD_TESTS=OFF \ | ||
21 | -DBUILD_CUBE=OFF \ | ||
22 | -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3 \ | ||
23 | " | ||
24 | |||
25 | # must choose x11 or wayland or both | ||
26 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" | ||
27 | |||
28 | 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" | ||
29 | PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SUPPORT=OFF, wayland" | ||
30 | |||
31 | UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)" | ||