From: Alexander Kanavin Date: Wed, 3 May 2023 08:54:01 +0000 (+0200) Subject: vulkan: add a comment explaining upstream version policy X-Git-Tag: uninative-3.10~171 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7484c71ca3a932bcb4c3679e25b0233c06be4404;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git vulkan: add a comment explaining upstream version policy Signed-off-by: Alexander Kanavin Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-graphics/glslang/glslang_1.3.239.0.bb b/meta/recipes-graphics/glslang/glslang_1.3.239.0.bb index 6bcde521e2d..295a8fe1901 100644 --- a/meta/recipes-graphics/glslang/glslang_1.3.239.0.bb +++ b/meta/recipes-graphics/glslang/glslang_1.3.239.0.bb @@ -13,6 +13,10 @@ SRC_URI = "git://github.com/KhronosGroup/glslang.git;protocol=https;branch=main file://0001-generate-glslang-pkg-config.patch \ " PE = "1" +# These recipes need to be updated in lockstep with each other: +# glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools +# The tags versions should always be sdk-x.y.z, as this is what +# upstream considers a release. UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P\d+(\.\d+)+)" S = "${WORKDIR}/git" diff --git a/meta/recipes-graphics/spir/spirv-headers_1.3.243.0.bb b/meta/recipes-graphics/spir/spirv-headers_1.3.243.0.bb index 4c39b0c351a..8e4402a94e7 100644 --- a/meta/recipes-graphics/spir/spirv-headers_1.3.243.0.bb +++ b/meta/recipes-graphics/spir/spirv-headers_1.3.243.0.bb @@ -10,6 +10,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c938b85bceb8fb26c1a807f28a52ae2d" SRCREV = "1feaf4414eb2b353764d01d88f8aa4bcc67b60db" SRC_URI = "git://github.com/KhronosGroup/SPIRV-Headers;protocol=https;branch=main" PE = "1" +# These recipes need to be updated in lockstep with each other: +# glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools +# The tags versions should always be sdk-x.y.z, as this is what +# upstream considers a release. UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P\d+(\.\d+)+)" S = "${WORKDIR}/git" diff --git a/meta/recipes-graphics/spir/spirv-tools_1.3.243.0.bb b/meta/recipes-graphics/spir/spirv-tools_1.3.243.0.bb index 290c53e8e4d..44ffc72b08d 100644 --- a/meta/recipes-graphics/spir/spirv-tools_1.3.243.0.bb +++ b/meta/recipes-graphics/spir/spirv-tools_1.3.243.0.bb @@ -10,6 +10,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" SRCREV = "44d72a9b36702f093dd20815561a56778b2d181e" SRC_URI = "git://github.com/KhronosGroup/SPIRV-Tools.git;branch=main;protocol=https" PE = "1" +# These recipes need to be updated in lockstep with each other: +# glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools +# The tags versions should always be sdk-x.y.z, as this is what +# upstream considers a release. UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P\d+(\.\d+)+)" S = "${WORKDIR}/git" diff --git a/meta/recipes-graphics/vulkan/vulkan-headers_1.3.239.0.bb b/meta/recipes-graphics/vulkan/vulkan-headers_1.3.239.0.bb index a6b30fa8310..19b13bce63c 100644 --- a/meta/recipes-graphics/vulkan/vulkan-headers_1.3.239.0.bb +++ b/meta/recipes-graphics/vulkan/vulkan-headers_1.3.239.0.bb @@ -20,4 +20,8 @@ inherit cmake FILES:${PN} += "${datadir}/vulkan" RDEPENDS:${PN} += "python3-core" +# These recipes need to be updated in lockstep with each other: +# glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools +# The tags versions should always be sdk-x.y.z, as this is what +# upstream considers a release. UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P\d+(\.\d+)+)" diff --git a/meta/recipes-graphics/vulkan/vulkan-loader_1.3.239.0.bb b/meta/recipes-graphics/vulkan/vulkan-loader_1.3.239.0.bb index e11f936a0a1..e45996e5a5c 100644 --- a/meta/recipes-graphics/vulkan/vulkan-loader_1.3.239.0.bb +++ b/meta/recipes-graphics/vulkan/vulkan-loader_1.3.239.0.bb @@ -35,4 +35,8 @@ PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SU RRECOMMENDS:${PN} = "mesa-vulkan-drivers" +# These recipes need to be updated in lockstep with each other: +# glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools +# The tags versions should always be sdk-x.y.z, as this is what +# upstream considers a release. UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P\d+(\.\d+)+)" diff --git a/meta/recipes-graphics/vulkan/vulkan-tools_1.3.239.0.bb b/meta/recipes-graphics/vulkan/vulkan-tools_1.3.239.0.bb index 934bd53ee18..5dc6bcad453 100644 --- a/meta/recipes-graphics/vulkan/vulkan-tools_1.3.239.0.bb +++ b/meta/recipes-graphics/vulkan/vulkan-tools_1.3.239.0.bb @@ -29,4 +29,8 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" 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" +# These recipes need to be updated in lockstep with each other: +# glslang, vulkan-headers, vulkan-loader, vulkan-tools, spirv-headers, spirv-tools +# The tags versions should always be sdk-x.y.z, as this is what +# upstream considers a release. UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P\d+(\.\d+)+)"