summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/vulkan/vulkan-loader_1.1.126.0.bb
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-12-06 19:09:41 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-09 12:00:43 +0000
commit9ad29096a811ba7f5de3bcac0ac672a3d97426ed (patch)
treec78b11780254f6f5f2b8d3f29d272d865876fa85 /meta/recipes-graphics/vulkan/vulkan-loader_1.1.126.0.bb
parent132b37ff52c464ca10301581f42dc77d14ec81a5 (diff)
downloadpoky-9ad29096a811ba7f5de3bcac0ac672a3d97426ed.tar.gz
vulkan: update to 1.1.126
Disable assembly for vulkan-loader, as it tries to execute a target binary (previously it would fail to detect a working assembler and do the same fallback quietly). (From OE-Core rev: fe2db77803846faa29226b821aaa985e009ac3cc) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/vulkan/vulkan-loader_1.1.126.0.bb')
-rw-r--r--meta/recipes-graphics/vulkan/vulkan-loader_1.1.126.0.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-graphics/vulkan/vulkan-loader_1.1.126.0.bb b/meta/recipes-graphics/vulkan/vulkan-loader_1.1.126.0.bb
new file mode 100644
index 0000000000..504cf85a2b
--- /dev/null
+++ b/meta/recipes-graphics/vulkan/vulkan-loader_1.1.126.0.bb
@@ -0,0 +1,38 @@
1SUMMARY = "3D graphics and compute API common loader"
2DESCRIPTION = "Vulkan is a new generation graphics and compute API \
3that provides efficient access to modern GPUs. These packages \
4provide only the common vendor-agnostic library loader, headers and \
5the vulkaninfo utility."
6HOMEPAGE = "https://www.khronos.org/vulkan/"
7BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-Loader"
8SECTION = "libs"
9
10LICENSE = "Apache-2.0"
11LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7dbefed23242760aa3475ee42801c5ac"
12SRC_URI = "git://github.com/KhronosGroup/Vulkan-Loader.git;branch=sdk-1.1.126"
13SRCREV = "4adad4ff705fa76f9edb2d37cb57e593decb60ed"
14
15S = "${WORKDIR}/git"
16
17REQUIRED_DISTRO_FEATURES = "vulkan"
18
19inherit cmake features_check
20ANY_OF_DISTRO_FEATURES = "x11 wayland"
21
22DEPENDS += "vulkan-headers"
23
24EXTRA_OECMAKE = "\
25 -DBUILD_TESTS=OFF \
26 -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3 \
27 -DASSEMBLER_WORKS=FALSE \
28 "
29
30# must choose x11 or wayland or both
31PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}"
32
33PACKAGECONFIG[x11] = "-DBUILD_WSI_XLIB_SUPPORT=ON -DBUILD_WSI_XCB_SUPPORT=ON, -DBUILD_WSI_XLIB_SUPPORT=OFF -DBUILD_WSI_XCB_SUPPORT=OFF, libxcb libx11 libxrandr"
34PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SUPPORT=OFF, wayland"
35
36RRECOMMENDS_${PN} = "mesa-vulkan-drivers"
37
38UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)"