Skip to contentSkip to conversation

spirv-headers: upgrade 1.5.4 -> 1.5.5

PATCH In review Jose Quaresma 2 participants 7 messages Nov 14, 2021 – Nov 15, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 spirv-headers: upgrade 1.5.4 -> 1.5.5

---
 .../spir/{spirv-headers_1.5.4.bb => spirv-headers_1.5.5.bb}     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/spir/{spirv-headers_1.5.4.bb => spirv-headers_1.5.5.bb} (92%)
meta/recipes-graphics/spir/spirv-headers_1.5.5.bb renamed from meta/recipes-graphics/spir/spirv-headers_1.5.4.bb +1 -1
similarity index 92%
rename from meta/recipes-graphics/spir/spirv-headers_1.5.4.bb
rename to meta/recipes-graphics/spir/spirv-headers_1.5.5.bb
index 6c978ce51a..101a2e2948 100644
@@ -7,7 +7,7 @@ HOMEPAGE = "https://www.khronos.org/registry/spir-v"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c938b85bceb8fb26c1a807f28a52ae2d"
 
-SRCREV = "6cae8216a6ea19ff3f237af01e54378c1ff81fcd"
+SRCREV = "c8213b3c5a2cf3a0f5c4d1e7d7b8fc2ac9f4806d"
 SRC_URI = "git://github.com/KhronosGroup/SPIRV-Headers;protocol=https;branch=master"
 UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$"
 S = "${WORKDIR}/git"
Signature · 1 line
2.33.1
#1 lore raw

PATCH 2/5 spirv-headers: bump to last master

SPIRV-Tools v2021.4 require this revision
https://github.com/KhronosGroup/SPIRV-Tools/commit/21e3f681e2004590c7865bc8c0195a4ab8e66c88

---
 meta/recipes-graphics/spir/spirv-headers_1.5.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/spir/spirv-headers_1.5.5.bb +1 -1
index 101a2e2948..522708618e 100644
@@ -7,7 +7,7 @@ HOMEPAGE = "https://www.khronos.org/registry/spir-v"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c938b85bceb8fb26c1a807f28a52ae2d"
 
-SRCREV = "c8213b3c5a2cf3a0f5c4d1e7d7b8fc2ac9f4806d"
+SRCREV = "814e728b30ddd0f4509233099a3ad96fd4318c07"
 SRC_URI = "git://github.com/KhronosGroup/SPIRV-Headers;protocol=https;branch=master"
 UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$"
 S = "${WORKDIR}/git"
Signature · 1 line
2.33.1
#2 lore raw

PATCH 3/5 spirv-tools: upgrade 2021.3 -> 2021.4

In reply to Jose Quaresma
---
 .../spir/{spirv-tools_2021.3.bb => spirv-tools_2021.4.bb}       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/spir/{spirv-tools_2021.3.bb => spirv-tools_2021.4.bb} (96%)
meta/recipes-graphics/spir/spirv-tools_2021.4.bb renamed from meta/recipes-graphics/spir/spirv-tools_2021.3.bb +1 -1
similarity index 96%
rename from meta/recipes-graphics/spir/spirv-tools_2021.3.bb
rename to meta/recipes-graphics/spir/spirv-tools_2021.4.bb
index bf44b58c99..ed56f4668f 100644
@@ -7,7 +7,7 @@ SECTION = "graphics"
 LICENSE  = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
-SRCREV = "1fbed83c8aab8517d821fcb4164c08567951938f"
+SRCREV = "ab8eb607750208066e2d57eff6a34dbaf05f5ada"
 SRC_URI = "git://github.com/KhronosGroup/SPIRV-Tools.git;branch=master;protocol=https"
 UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
 S = "${WORKDIR}/git"
Signature · 1 line
2.33.1
#3 lore raw

PATCH 4/5 glslang: upgrade 11.6.0 -> 11.7.0

In reply to Jose Quaresma
---
 .../glslang/{glslang_11.6.0.bb => glslang_11.7.0.bb}            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/glslang/{glslang_11.6.0.bb => glslang_11.7.0.bb} (95%)
meta/recipes-graphics/glslang/glslang_11.7.0.bb renamed from meta/recipes-graphics/glslang/glslang_11.6.0.bb +1 -1
similarity index 95%
rename from meta/recipes-graphics/glslang/glslang_11.6.0.bb
rename to meta/recipes-graphics/glslang/glslang_11.7.0.bb
index e2388a1a57..0b4bf21bca 100644
@@ -8,7 +8,7 @@ HOMEPAGE = "https://www.khronos.org/opengles/sdk/tools/Reference-Compiler"
 LICENSE = "BSD-3-Clause & BSD-2-Clause & MIT & Apache-2.0 & GPL-3-with-bison-exception"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c5ce49c0456e9b413b98a4368c378229"
 
-SRCREV = "2fb89a0072ae7316af1c856f22663fde4928128a"
+SRCREV = "925503088e2bcd76921b1e102c37fc320bace254"
 SRC_URI = "git://github.com/KhronosGroup/glslang.git;protocol=https;branch=master \
            file://0001-generate-glslang-pkg-config.patch"
 UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$"
Signature · 1 line
2.33.1
#4 lore raw

PATCH 5/5 shaderc: upgrade 2021.2 -> 2021.3

In reply to Jose Quaresma

- SHADERC_SKIP_COPYRIGHT_CHECK is a new cmake option to skip the copyright check and as we don't needs it we can avoid the check.
https://github.com/google/shaderc/commit/f6d6dddfabfec1041c0dfb8e7ff3608a5f82227c

---
 .../shaderc/{shaderc_2021.2.bb => shaderc_2021.3.bb}           | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename meta/recipes-graphics/shaderc/{shaderc_2021.2.bb => shaderc_2021.3.bb} (91%)
meta/recipes-graphics/shaderc/shaderc_2021.3.bb renamed from meta/recipes-graphics/shaderc/shaderc_2021.2.bb +2 -1
similarity index 91%
rename from meta/recipes-graphics/shaderc/shaderc_2021.2.bb
rename to meta/recipes-graphics/shaderc/shaderc_2021.3.bb
index eee9817d65..cc2cfc18a8 100644
@@ -6,7 +6,7 @@ HOMEPAGE = "https://github.com/google/shaderc"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
 
-SRCREV = "2c5ef1b8f8b1fdcbe1b22764e82d5caaa1d04ef9"
+SRCREV = "6fabc36fbebacfcef8cf82463df2a8247120ebf0"
 SRC_URI = "git://github.com/google/shaderc.git;protocol=https;branch=main \
            file://0001-cmake-disable-building-external-dependencies.patch \
            file://0002-libshaderc_util-fix-glslang-header-file-location.patch \
@@ -23,6 +23,7 @@ EXTRA_OECMAKE = " \
     -DBUILD_EXTERNAL=OFF \
     -DSHADERC_SKIP_TESTS=ON \
     -DSHADERC_SKIP_EXAMPLES=ON \
+    -DSHADERC_SKIP_COPYRIGHT_CHECK=ON \
 "
 
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.33.1
#5 lore raw
In reply to Jose Quaresma

There is no 1.5.5 release or tag here:
https://github.com/KhronosGroup/SPIRV-Headers
so this breaks version checks and automated updates.

If you want to bump SRCREV to a post-release commit, PV should be set like this:
PV = "1.5.4+git${SRCPV}"

I'll send a patch to correct this.

Alex

Quoted 40 lines · Jose Quaresma
---
 .../spir/{spirv-headers_1.5.4.bb => spirv-headers_1.5.5.bb}     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/spir/{spirv-headers_1.5.4.bb =>

spirv-headers_1.5.5.bb} (92%)

meta/recipes-graphics/spir/spirv-headers_1.5.5.bb renamed from meta/recipes-graphics/spir/spirv-headers_1.5.4.bb +1 -1
similarity index 92%
rename from meta/recipes-graphics/spir/spirv-headers_1.5.4.bb
rename to meta/recipes-graphics/spir/spirv-headers_1.5.5.bb
index 6c978ce51a..101a2e2948 100644
@@ -7,7 +7,7 @@ HOMEPAGE = "https://www.khronos.org/registry/spir-v"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c938b85bceb8fb26c1a807f28a52ae2d"
 
-SRCREV = "6cae8216a6ea19ff3f237af01e54378c1ff81fcd"
+SRCREV = "c8213b3c5a2cf3a0f5c4d1e7d7b8fc2ac9f4806d"
 SRC_URI = "git://

github.com/KhronosGroup/SPIRV-Headers;protocol=https;branch=master"
UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$" S = "${WORKDIR}/git"
--
2.33.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#158267):
https://lists.openembedded.org/g/openembedded-core/message/158267
Mute This Topic: https://lists.openembedded.org/mt/87054847/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#6 lore raw

Alexander Kanavin <[email protected]> escreveu no dia segunda, 15/11/2021 à(s) 13:57:

Quoted 10 lines

There is no 1.5.5 release or tag here:
https://github.com/KhronosGroup/SPIRV-Headers
so this breaks version checks and automated updates.

If you want to bump SRCREV to a post-release commit, PV should be set like this:
PV = "1.5.4+git${SRCPV}"

I'll send a patch to correct this.

I see on this MR that the version is bumped on CMakeLists.txt and the user asks to create a new tag.
https://github.com/KhronosGroup/SPIRV-Headers/pull/246

But there ano updates on the code like on the last tag 1.5.4.
https://github.com/KhronosGroup/SPIRV-Headers/commit/7845730cab6ebbdeb621e7349b7dc1a59c3377be

You are right, the 1.5.5 is not concluded. Thanks for looking and for the patch with the fixup.

Quoted 46 lines

Alex

Quoted 40 lines · Jose Quaresma
---
 .../spir/{spirv-headers_1.5.4.bb => spirv-headers_1.5.5.bb}     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/spir/{spirv-headers_1.5.4.bb =>

spirv-headers_1.5.5.bb} (92%)

meta/recipes-graphics/spir/spirv-headers_1.5.5.bb renamed from meta/recipes-graphics/spir/spirv-headers_1.5.4.bb +1 -1
similarity index 92%
rename from meta/recipes-graphics/spir/spirv-headers_1.5.4.bb
rename to meta/recipes-graphics/spir/spirv-headers_1.5.5.bb
index 6c978ce51a..101a2e2948 100644
@@ -7,7 +7,7 @@ HOMEPAGE = "https://www.khronos.org/registry/spir-v"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c938b85bceb8fb26c1a807f28a52ae2d"
 
-SRCREV = "6cae8216a6ea19ff3f237af01e54378c1ff81fcd"
+SRCREV = "c8213b3c5a2cf3a0f5c4d1e7d7b8fc2ac9f4806d"
 SRC_URI = "git://

github.com/KhronosGroup/SPIRV-Headers;protocol=https;branch=master"
UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+(\.\d+)+)$" S = "${WORKDIR}/git"
--
2.33.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#158267):
https://lists.openembedded.org/g/openembedded-core/message/158267
Mute This Topic: https://lists.openembedded.org/mt/87054847/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Best regards,

José Quaresma