From: Jordan Crouse <jorcrous@amazon.com>
To: <openembedded-core@lists.openembedded.org>
Cc: Jordan Crouse <jorcrous@amazon.com>
Subject: [PATCH 3/3] vulkan-validation: Add the official Vulkan validation layers
Date: Thu, 10 Nov 2022 20:42:32 +0000 [thread overview]
Message-ID: <20221110204232.12768-4-jorcrous@amazon.com> (raw)
In-Reply-To: <20221110204232.12768-1-jorcrous@amazon.com>
Add a recipe to build the Khronos official Vulkan validation layers that can
assist developers in verifying that their applications correctly use the
Vulkan APIs.
Signed-off-by: Jordan Crouse <jorcrous@amazon.com>
---
.../vulkan/vulkan-validation_1.3.231.1.bb | 46 +++++++++++++++++++
1 file changed, 46 insertions(+)
create mode 100644 meta/recipes-graphics/vulkan/vulkan-validation_1.3.231.1.bb
diff --git a/meta/recipes-graphics/vulkan/vulkan-validation_1.3.231.1.bb b/meta/recipes-graphics/vulkan/vulkan-validation_1.3.231.1.bb
new file mode 100644
index 0000000000..3d592fe24a
--- /dev/null
+++ b/meta/recipes-graphics/vulkan/vulkan-validation_1.3.231.1.bb
@@ -0,0 +1,46 @@
+SUMMARY = "Vulkan Validation layers"
+DESCRIPTION = "Khronos official Vulkan validation layers to assist developers \
+in verifying that their applications correctly use the Vulkan API"
+HOMEPAGE = "https://www.khronos.org/vulkan/"
+BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-ValidationLayers"
+SECTION = "libs"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8df9e8826734226d08cb412babfa599c"
+SRC_URI = "git://github.com/KhronosGroup/Vulkan-ValidationLayers.git;branch=sdk-1.3.231;protocol=https"
+
+SRCREV="f489610de566df6a5c20de1a3e54776e0ad852e1"
+
+S = "${WORKDIR}/git"
+
+REQUIRED_DISTRO_FEATURES = "vulkan"
+
+inherit cmake features_check pkgconfig
+
+DEPENDS += "vulkan-headers"
+DEPENDS += "spirv-headers spirv-tools"
+DEPENDS += "vulkan-loader"
+DEPENDS += "glslang"
+
+EXTRA_OECMAKE = "\
+ -DBUILD_TESTS=OFF \
+ -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3 \
+ -DASSEMBLER_WORKS=FALSE \
+ -DVULKAN_HEADERS_INSTALL_DIR=${STAGING_EXECPREFIXDIR} \
+ -DGLSLANG_INSTALL_DIR=${STAGING_DATADIR} \
+ -DSPIRV_HEADERS_INSTALL_DIR=${STAGING_EXECPREFIXDIR} \
+ -DUSE_ROBIN_HOOD_HASHING=OFF \
+ "
+
+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"
+PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SUPPORT=OFF, wayland"
+
+FILES:${PN} += "/usr/share/vulkan/ /usr/lib/"
+
+INSANE_SKIP:${PN} += " ldflags"
+INHIBIT_PACKAGE_STRIP = "1"
+INHIBIT_SYSROOT_STRIP = "1"
+SOLIBS = ".so"
+FILES_SOLIBSDEV = ""
+
+UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)"
--
2.37.1
next prev parent reply other threads:[~2022-11-10 20:42 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-10 20:42 [PATCH 0/3] Add vulkan validation and improvements for headless devices Jordan Crouse
2022-11-10 20:42 ` [PATCH 1/3] spirv-tools: Correctly set the prefix in exported cmake packages Jordan Crouse
2022-11-10 20:43 ` [OE-core] " Khem Raj
2022-11-11 10:44 ` Jose Quaresma
2022-11-10 20:42 ` [PATCH 2/3] vulkan-loader: Allow headless targets to build the loader Jordan Crouse
2022-11-10 20:42 ` Jordan Crouse [this message]
2022-11-10 20:57 ` [OE-core] [PATCH 3/3] vulkan-validation: Add the official Vulkan validation layers Alexander Kanavin
2022-11-10 21:30 ` Jordan Crouse
2022-11-11 8:03 ` Alexander Kanavin
2022-11-11 15:27 ` Jordan Crouse
2022-11-11 17:31 ` Alexander Kanavin
2022-11-13 22:11 ` Alexandre Belloni
2022-11-14 15:23 ` Jordan Crouse
2023-06-01 21:55 ` Vincent Davis Jr
2023-06-02 5:21 ` [OE-core] " Alexander Kanavin
2023-06-27 17:10 ` Jordan Crouse
2023-06-27 19:13 ` Alexander Kanavin
2023-06-27 19:26 ` Vincent Davis Jr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221110204232.12768-4-jorcrous@amazon.com \
--to=jorcrous@amazon.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox