diff mbox series

[2/3] spirv-llvm-translator: upgrade 20.1.2 -> 20.1.4

Message ID 20250708063810.1921024-2-raj.khem@gmail.com
State Accepted, archived
Commit e3890983dbf422f2dad33267f7dbe12ae3aff7c8
Headers show
Series [1/3] re2c: upgrade to 4.3 | expand

Commit Message

Khem Raj July 8, 2025, 6:38 a.m. UTC
Details of changes
https://github.com/KhronosGroup/SPIRV-LLVM-Translator/compare/v20.1.2...v20.1.4

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 ...-translator_20.1.2.bb => spirv-llvm-translator_20.1.4.bb} | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
 rename meta/recipes-graphics/spir/{spirv-llvm-translator_20.1.2.bb => spirv-llvm-translator_20.1.4.bb} (92%)

Comments

Ryan Eatmon July 10, 2025, 3:49 p.m. UTC | #1
I'm getting an error building with this patch:


ERROR: Bitbake Fetcher Error: FetchError('Fetch command export 
PSEUDO_DISABLED=1; <snip>; export PATH="<snip>"; export 
HOME="/home/yoctouser"; git -c gc.autoDetach=false -c core.pager=cat -c 
safe.bareRepository=all -c clone.defaultRemoteName=origin rev-list -n 1 
v20.1.4 failed with exit code 128, output:\nfatal: ambiguous argument 
\'v20.1.4\': unknown revision or path not in the working tree.\nUse 
\'--\' to separate paths from revisions, like this:\n\'git <command> 
[<revision>...] -- [<file>...]\'\n', None)


I "fixed" it by clearing out the central shared downloads cache for this 
git repo and forcing bitbake to refetch the repo from github.

Heads up if anyone runs into this.



On 7/8/2025 1:38 AM, Khem Raj via lists.openembedded.org wrote:
> Details of changes
> https://github.com/KhronosGroup/SPIRV-LLVM-Translator/compare/v20.1.2...v20.1.4
> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>   ...-translator_20.1.2.bb => spirv-llvm-translator_20.1.4.bb} | 5 ++---
>   1 file changed, 2 insertions(+), 3 deletions(-)
>   rename meta/recipes-graphics/spir/{spirv-llvm-translator_20.1.2.bb => spirv-llvm-translator_20.1.4.bb} (92%)
> 
> diff --git a/meta/recipes-graphics/spir/spirv-llvm-translator_20.1.2.bb b/meta/recipes-graphics/spir/spirv-llvm-translator_20.1.4.bb
> similarity index 92%
> rename from meta/recipes-graphics/spir/spirv-llvm-translator_20.1.2.bb
> rename to meta/recipes-graphics/spir/spirv-llvm-translator_20.1.4.bb
> index 4952e8ba4ff..14e4bb74ace 100644
> --- a/meta/recipes-graphics/spir/spirv-llvm-translator_20.1.2.bb
> +++ b/meta/recipes-graphics/spir/spirv-llvm-translator_20.1.4.bb
> @@ -6,12 +6,11 @@ LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=47e311aa9caedd1b3abf098bd7814d1d"
>   
>   # pattern: llvm_branch_200, currently there are no minor releases, so, no llvm_branch_201
>   SPIRV_BRANCH = "llvm_release_${@oe.utils.trim_version('${PV}', 1).replace('.', '')}0"
> +SRCREV = "74843f2186bb63b6802758222084da17fcbe603c"
>   SRC_URI = " \
> -    git://github.com/KhronosGroup/SPIRV-LLVM-Translator;protocol=https;name=spirv;branch=${SPIRV_BRANCH} \
> +    git://github.com/KhronosGroup/SPIRV-LLVM-Translator;protocol=https;tag=v${PV};branch=${SPIRV_BRANCH} \
>   "
>   
> -SRCREV_spirv = "6dd8f2a1681a27f16c53d932d2765920f312aeb2"
> -
>   UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
>   
>   DEPENDS = "clang spirv-tools spirv-headers"
> 
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#220011): https://lists.openembedded.org/g/openembedded-core/message/220011
> Mute This Topic: https://lists.openembedded.org/mt/114042510/6551054
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [reatmon@ti.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta/recipes-graphics/spir/spirv-llvm-translator_20.1.2.bb b/meta/recipes-graphics/spir/spirv-llvm-translator_20.1.4.bb
similarity index 92%
rename from meta/recipes-graphics/spir/spirv-llvm-translator_20.1.2.bb
rename to meta/recipes-graphics/spir/spirv-llvm-translator_20.1.4.bb
index 4952e8ba4ff..14e4bb74ace 100644
--- a/meta/recipes-graphics/spir/spirv-llvm-translator_20.1.2.bb
+++ b/meta/recipes-graphics/spir/spirv-llvm-translator_20.1.4.bb
@@ -6,12 +6,11 @@  LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=47e311aa9caedd1b3abf098bd7814d1d"
 
 # pattern: llvm_branch_200, currently there are no minor releases, so, no llvm_branch_201
 SPIRV_BRANCH = "llvm_release_${@oe.utils.trim_version('${PV}', 1).replace('.', '')}0"
+SRCREV = "74843f2186bb63b6802758222084da17fcbe603c"
 SRC_URI = " \
-    git://github.com/KhronosGroup/SPIRV-LLVM-Translator;protocol=https;name=spirv;branch=${SPIRV_BRANCH} \
+    git://github.com/KhronosGroup/SPIRV-LLVM-Translator;protocol=https;tag=v${PV};branch=${SPIRV_BRANCH} \
 "
 
-SRCREV_spirv = "6dd8f2a1681a27f16c53d932d2765920f312aeb2"
-
 UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
 
 DEPENDS = "clang spirv-tools spirv-headers"