package/vulkan-sdk: new package

The principle component of this is the new volk meta-loader which is
required for more recent versions of vulkan-tools. There does seem to
be a little confusion with github Releases lagging behind tagged
versions of the sdk. I've gone for the latest SDK version to stay as
closely aligned to the rest of the system as I can.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
[Julien: remove _SOURCE to fix a check-package warning]
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Alex Bennée
2025-06-18 15:28:20 +01:00
committed by Julien Olivain
parent c6252c2e50
commit 69cb3de4bf
4 changed files with 33 additions and 0 deletions

View File

@@ -375,6 +375,7 @@ comment "Graphic libraries"
source "package/tk/Config.in"
source "package/vulkan-headers/Config.in"
source "package/vulkan-loader/Config.in"
source "package/vulkan-sdk/Config.in"
source "package/vulkan-tools/Config.in"
comment "Other GUIs"

View File

@@ -0,0 +1,12 @@
config BR2_PACKAGE_VULKAN_SDK
bool "vulkan-sdk"
depends on !BR2_STATIC_LIBS # dlfcn.h
depends on BR2_INSTALL_LIBSTDCPP # C++
select BR2_PACKAGE_VULKAN_HEADERS
help
The Vulkan meta-loader
https://github.com/zeux/volk
comment "Vulkan-SDK needs toolchain w/ C++, dynamic library"
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS

View File

@@ -0,0 +1,3 @@
# Locally calculated
sha256 d86bcf1aff499f41a3e445b55df5e393a5ce49b1bda689eb7335b0a0a54a3c0b vulkan-sdk-1.4.313.0.tar.gz
sha256 33c831f76b79501665e66c23ac8f876020457c216d44526a8f747da897999b35 LICENSE.md

View File

@@ -0,0 +1,17 @@
################################################################################
#
# vulkan-sdk
#
################################################################################
VULKAN_SDK_VERSION = 1.4.313.0
VULKAN_SDK_SITE = https://github.com/zeux/volk/archive/refs/tags
VULKAN_SDK_LICENSE = MIT
VULKAN_SDK_LICENSE_FILES = LICENSE.md
VULKAN_SDK_INSTALL_STAGING = YES
VULKAN_SDK_DEPENDENCIES = vulkan-headers
VULKAN_SDK_CONF_OPTS += -DVOLK_INSTALL=ON
$(eval $(cmake-package))