diff mbox series

[3/5] spirv-headers,spirv-tools: Update to tip of trunk

Message ID 20250728032045.2783514-3-raj.khem@gmail.com
State New
Headers show
Series [1/5] spirv-headers,spirv-tools: Upgrade to 1.4.321.0 release | expand

Commit Message

Khem Raj July 28, 2025, 3:20 a.m. UTC
This is needed for compiling SPIRV llvm-translator from llvm 21.1.0 rc1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-graphics/spir/spirv-headers_1.4.321.0.bb | 3 ++-
 meta/recipes-graphics/spir/spirv-tools_1.4.321.0.bb   | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

Comments

Gyorgy Sarvari July 28, 2025, 6:58 a.m. UTC | #1
On 7/28/25 05:20, Khem Raj via lists.openembedded.org wrote:
> This is needed for compiling SPIRV llvm-translator from llvm 21.1.0 rc1
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  meta/recipes-graphics/spir/spirv-headers_1.4.321.0.bb | 3 ++-
>  meta/recipes-graphics/spir/spirv-tools_1.4.321.0.bb   | 3 ++-
>  2 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-graphics/spir/spirv-headers_1.4.321.0.bb b/meta/recipes-graphics/spir/spirv-headers_1.4.321.0.bb
> index 1da2e74f93b..b1cec77080a 100644
> --- a/meta/recipes-graphics/spir/spirv-headers_1.4.321.0.bb
> +++ b/meta/recipes-graphics/spir/spirv-headers_1.4.321.0.bb
> @@ -4,7 +4,8 @@ HOMEPAGE = "https://www.khronos.org/registry/spir-v"
>  LICENSE = "MIT"
>  LIC_FILES_CHKSUM = "file://LICENSE;md5=a0dcaa512cc2dee95fe0fd791ee83a18"
>  
> -SRCREV = "2a611a970fdbc41ac2e3e328802aed9985352dca"
> +PV .= "+git"
> +SRCREV = "de1807b7cfa8e722979d5ab7b7445b258dbc1836"
>  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:
> diff --git a/meta/recipes-graphics/spir/spirv-tools_1.4.321.0.bb b/meta/recipes-graphics/spir/spirv-tools_1.4.321.0.bb
> index 319b25b7f43..f66b25c60db 100644
> --- a/meta/recipes-graphics/spir/spirv-tools_1.4.321.0.bb
> +++ b/meta/recipes-graphics/spir/spirv-tools_1.4.321.0.bb
> @@ -7,7 +7,8 @@ SECTION = "graphics"
>  LICENSE  = "Apache-2.0"
>  LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
>  
> -SRCREV = "33e02568181e3312f49a3cf33df470bf96ef293a"
> +Pv .= "+git"

There is a typo in PV

> +SRCREV = "a983ab19d6f91a07a8272767427b6c5208576d08"
>  SRC_URI = "git://github.com/KhronosGroup/SPIRV-Tools.git;branch=main;protocol=https \
>             "
>  PE = "1"
Alexander Kanavin July 28, 2025, 9:04 a.m. UTC | #2
Also, I'd prefer a backport of the needed fixes, as this would
mis-match with other vulkan items, potentially breaking them.

Alex

On Mon, 28 Jul 2025 at 08:58, Gyorgy Sarvari via
lists.openembedded.org <skandigraun=gmail.com@lists.openembedded.org>
wrote:
>
> On 7/28/25 05:20, Khem Raj via lists.openembedded.org wrote:
> > This is needed for compiling SPIRV llvm-translator from llvm 21.1.0 rc1
> >
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > ---
> >  meta/recipes-graphics/spir/spirv-headers_1.4.321.0.bb | 3 ++-
> >  meta/recipes-graphics/spir/spirv-tools_1.4.321.0.bb   | 3 ++-
> >  2 files changed, 4 insertions(+), 2 deletions(-)
> >
> > diff --git a/meta/recipes-graphics/spir/spirv-headers_1.4.321.0.bb b/meta/recipes-graphics/spir/spirv-headers_1.4.321.0.bb
> > index 1da2e74f93b..b1cec77080a 100644
> > --- a/meta/recipes-graphics/spir/spirv-headers_1.4.321.0.bb
> > +++ b/meta/recipes-graphics/spir/spirv-headers_1.4.321.0.bb
> > @@ -4,7 +4,8 @@ HOMEPAGE = "https://www.khronos.org/registry/spir-v"
> >  LICENSE = "MIT"
> >  LIC_FILES_CHKSUM = "file://LICENSE;md5=a0dcaa512cc2dee95fe0fd791ee83a18"
> >
> > -SRCREV = "2a611a970fdbc41ac2e3e328802aed9985352dca"
> > +PV .= "+git"
> > +SRCREV = "de1807b7cfa8e722979d5ab7b7445b258dbc1836"
> >  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:
> > diff --git a/meta/recipes-graphics/spir/spirv-tools_1.4.321.0.bb b/meta/recipes-graphics/spir/spirv-tools_1.4.321.0.bb
> > index 319b25b7f43..f66b25c60db 100644
> > --- a/meta/recipes-graphics/spir/spirv-tools_1.4.321.0.bb
> > +++ b/meta/recipes-graphics/spir/spirv-tools_1.4.321.0.bb
> > @@ -7,7 +7,8 @@ SECTION = "graphics"
> >  LICENSE  = "Apache-2.0"
> >  LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
> >
> > -SRCREV = "33e02568181e3312f49a3cf33df470bf96ef293a"
> > +Pv .= "+git"
>
> There is a typo in PV
>
> > +SRCREV = "a983ab19d6f91a07a8272767427b6c5208576d08"
> >  SRC_URI = "git://github.com/KhronosGroup/SPIRV-Tools.git;branch=main;protocol=https \
> >             "
> >  PE = "1"
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#220992): https://lists.openembedded.org/g/openembedded-core/message/220992
> Mute This Topic: https://lists.openembedded.org/mt/114408566/1686489
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Khem Raj July 28, 2025, 5:15 p.m. UTC | #3
On Sun, Jul 27, 2025 at 11:58 PM Gyorgy Sarvari <skandigraun@gmail.com> wrote:
>
> On 7/28/25 05:20, Khem Raj via lists.openembedded.org wrote:
> > This is needed for compiling SPIRV llvm-translator from llvm 21.1.0 rc1
> >
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > ---
> >  meta/recipes-graphics/spir/spirv-headers_1.4.321.0.bb | 3 ++-
> >  meta/recipes-graphics/spir/spirv-tools_1.4.321.0.bb   | 3 ++-
> >  2 files changed, 4 insertions(+), 2 deletions(-)
> >
> > diff --git a/meta/recipes-graphics/spir/spirv-headers_1.4.321.0.bb b/meta/recipes-graphics/spir/spirv-headers_1.4.321.0.bb
> > index 1da2e74f93b..b1cec77080a 100644
> > --- a/meta/recipes-graphics/spir/spirv-headers_1.4.321.0.bb
> > +++ b/meta/recipes-graphics/spir/spirv-headers_1.4.321.0.bb
> > @@ -4,7 +4,8 @@ HOMEPAGE = "https://www.khronos.org/registry/spir-v"
> >  LICENSE = "MIT"
> >  LIC_FILES_CHKSUM = "file://LICENSE;md5=a0dcaa512cc2dee95fe0fd791ee83a18"
> >
> > -SRCREV = "2a611a970fdbc41ac2e3e328802aed9985352dca"
> > +PV .= "+git"
> > +SRCREV = "de1807b7cfa8e722979d5ab7b7445b258dbc1836"
> >  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:
> > diff --git a/meta/recipes-graphics/spir/spirv-tools_1.4.321.0.bb b/meta/recipes-graphics/spir/spirv-tools_1.4.321.0.bb
> > index 319b25b7f43..f66b25c60db 100644
> > --- a/meta/recipes-graphics/spir/spirv-tools_1.4.321.0.bb
> > +++ b/meta/recipes-graphics/spir/spirv-tools_1.4.321.0.bb
> > @@ -7,7 +7,8 @@ SECTION = "graphics"
> >  LICENSE  = "Apache-2.0"
> >  LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
> >
> > -SRCREV = "33e02568181e3312f49a3cf33df470bf96ef293a"
> > +Pv .= "+git"
>
> There is a typo in PV

ah bummer.

>
> > +SRCREV = "a983ab19d6f91a07a8272767427b6c5208576d08"
> >  SRC_URI = "git://github.com/KhronosGroup/SPIRV-Tools.git;branch=main;protocol=https \
> >             "
> >  PE = "1"
>
Khem Raj July 28, 2025, 5:18 p.m. UTC | #4
On Mon, Jul 28, 2025 at 2:04 AM Alexander Kanavin
<alex.kanavin@gmail.com> wrote:
>
> Also, I'd prefer a backport of the needed fixes, as this would
> mis-match with other vulkan items, potentially breaking them.

There are many that its not worth it, since I am expecting spirv-tools
to do a release for llvm-21
question is how long that happens after/before llvm-21 release

>
> Alex
>
> On Mon, 28 Jul 2025 at 08:58, Gyorgy Sarvari via
> lists.openembedded.org <skandigraun=gmail.com@lists.openembedded.org>
> wrote:
> >
> > On 7/28/25 05:20, Khem Raj via lists.openembedded.org wrote:
> > > This is needed for compiling SPIRV llvm-translator from llvm 21.1.0 rc1
> > >
> > > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > > ---
> > >  meta/recipes-graphics/spir/spirv-headers_1.4.321.0.bb | 3 ++-
> > >  meta/recipes-graphics/spir/spirv-tools_1.4.321.0.bb   | 3 ++-
> > >  2 files changed, 4 insertions(+), 2 deletions(-)
> > >
> > > diff --git a/meta/recipes-graphics/spir/spirv-headers_1.4.321.0.bb b/meta/recipes-graphics/spir/spirv-headers_1.4.321.0.bb
> > > index 1da2e74f93b..b1cec77080a 100644
> > > --- a/meta/recipes-graphics/spir/spirv-headers_1.4.321.0.bb
> > > +++ b/meta/recipes-graphics/spir/spirv-headers_1.4.321.0.bb
> > > @@ -4,7 +4,8 @@ HOMEPAGE = "https://www.khronos.org/registry/spir-v"
> > >  LICENSE = "MIT"
> > >  LIC_FILES_CHKSUM = "file://LICENSE;md5=a0dcaa512cc2dee95fe0fd791ee83a18"
> > >
> > > -SRCREV = "2a611a970fdbc41ac2e3e328802aed9985352dca"
> > > +PV .= "+git"
> > > +SRCREV = "de1807b7cfa8e722979d5ab7b7445b258dbc1836"
> > >  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:
> > > diff --git a/meta/recipes-graphics/spir/spirv-tools_1.4.321.0.bb b/meta/recipes-graphics/spir/spirv-tools_1.4.321.0.bb
> > > index 319b25b7f43..f66b25c60db 100644
> > > --- a/meta/recipes-graphics/spir/spirv-tools_1.4.321.0.bb
> > > +++ b/meta/recipes-graphics/spir/spirv-tools_1.4.321.0.bb
> > > @@ -7,7 +7,8 @@ SECTION = "graphics"
> > >  LICENSE  = "Apache-2.0"
> > >  LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
> > >
> > > -SRCREV = "33e02568181e3312f49a3cf33df470bf96ef293a"
> > > +Pv .= "+git"
> >
> > There is a typo in PV
> >
> > > +SRCREV = "a983ab19d6f91a07a8272767427b6c5208576d08"
> > >  SRC_URI = "git://github.com/KhronosGroup/SPIRV-Tools.git;branch=main;protocol=https \
> > >             "
> > >  PE = "1"
> >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#220992): https://lists.openembedded.org/g/openembedded-core/message/220992
> > Mute This Topic: https://lists.openembedded.org/mt/114408566/1686489
> > Group Owner: openembedded-core+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
diff mbox series

Patch

diff --git a/meta/recipes-graphics/spir/spirv-headers_1.4.321.0.bb b/meta/recipes-graphics/spir/spirv-headers_1.4.321.0.bb
index 1da2e74f93b..b1cec77080a 100644
--- a/meta/recipes-graphics/spir/spirv-headers_1.4.321.0.bb
+++ b/meta/recipes-graphics/spir/spirv-headers_1.4.321.0.bb
@@ -4,7 +4,8 @@  HOMEPAGE = "https://www.khronos.org/registry/spir-v"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=a0dcaa512cc2dee95fe0fd791ee83a18"
 
-SRCREV = "2a611a970fdbc41ac2e3e328802aed9985352dca"
+PV .= "+git"
+SRCREV = "de1807b7cfa8e722979d5ab7b7445b258dbc1836"
 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:
diff --git a/meta/recipes-graphics/spir/spirv-tools_1.4.321.0.bb b/meta/recipes-graphics/spir/spirv-tools_1.4.321.0.bb
index 319b25b7f43..f66b25c60db 100644
--- a/meta/recipes-graphics/spir/spirv-tools_1.4.321.0.bb
+++ b/meta/recipes-graphics/spir/spirv-tools_1.4.321.0.bb
@@ -7,7 +7,8 @@  SECTION = "graphics"
 LICENSE  = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
-SRCREV = "33e02568181e3312f49a3cf33df470bf96ef293a"
+Pv .= "+git"
+SRCREV = "a983ab19d6f91a07a8272767427b6c5208576d08"
 SRC_URI = "git://github.com/KhronosGroup/SPIRV-Tools.git;branch=main;protocol=https \
            "
 PE = "1"