Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] spirv-llvm-translator: Upgrade to 21.1.0
@ 2025-08-15 16:25 Khem Raj
  2025-08-15 16:30 ` Patchtest results for " patchtest
  2025-08-17 17:26 ` [OE-core] " Mathieu Dubois-Briand
  0 siblings, 2 replies; 4+ messages in thread
From: Khem Raj @ 2025-08-15 16:25 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

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

diff --git a/meta/recipes-graphics/spir/spirv-llvm-translator_20.1.4.bb b/meta/recipes-graphics/spir/spirv-llvm-translator_21.1.0.bb
similarity index 88%
rename from meta/recipes-graphics/spir/spirv-llvm-translator_20.1.4.bb
rename to meta/recipes-graphics/spir/spirv-llvm-translator_21.1.0.bb
index 64a73ce55aa..6a6c6ac77c4 100644
--- a/meta/recipes-graphics/spir/spirv-llvm-translator_20.1.4.bb
+++ b/meta/recipes-graphics/spir/spirv-llvm-translator_21.1.0.bb
@@ -6,9 +6,9 @@ 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"
+SRCREV = "acb023b63a4bafd53d0ba6a1a452b1f0e5671458"
 SRC_URI = " \
-    git://github.com/KhronosGroup/SPIRV-LLVM-Translator;protocol=https;tag=v${PV};branch=${SPIRV_BRANCH} \
+    git://github.com/KhronosGroup/SPIRV-LLVM-Translator;protocol=https;branch=${SPIRV_BRANCH} \
 "
 
 UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
@@ -20,6 +20,7 @@ inherit cmake pkgconfig python3native
 # Specify any options you want to pass to cmake using EXTRA_OECMAKE:
 # for CMAKE_SHARED_LIBS=OFF see https://github.com/KhronosGroup/SPIRV-LLVM-Translator/issues/1868
 EXTRA_OECMAKE = "\
+    -DBASE_LLVM_VERSION='${@oe.utils.trim_version('${PV}', 3)}' \
     -DBUILD_SHARED_LIBS=ON \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_POSITION_INDEPENDENT_CODE=ON \


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Patchtest results for [PATCH] spirv-llvm-translator: Upgrade to 21.1.0
  2025-08-15 16:25 [PATCH] spirv-llvm-translator: Upgrade to 21.1.0 Khem Raj
@ 2025-08-15 16:30 ` patchtest
  2025-08-17 17:26 ` [OE-core] " Mathieu Dubois-Briand
  1 sibling, 0 replies; 4+ messages in thread
From: patchtest @ 2025-08-15 16:30 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 2998 bytes --]

Thank you for your submission. Patchtest identified one
or more issues with the patch. Please see the log below for
more information:

---
Testing patch /home/patchtest/share/mboxes/spirv-llvm-translator-Upgrade-to-21.1.0.patch

FAIL: test commit message presence: Please include a commit message on your patch explaining the change (test_mbox.TestMbox.test_commit_message_presence)

PASS: pretest src uri left files (test_metadata.TestMetadata.pretest_src_uri_left_files)
PASS: test CVE check ignore (test_metadata.TestMetadata.test_cve_check_ignore)
PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test commit message user tags (test_mbox.TestMbox.test_commit_message_user_tags)
PASS: test lic files chksum modified not mentioned (test_metadata.TestMetadata.test_lic_files_chksum_modified_not_mentioned)
PASS: test max line length (test_metadata.TestMetadata.test_max_line_length)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)
PASS: test src uri left files (test_metadata.TestMetadata.test_src_uri_left_files)
PASS: test target mailing list (test_mbox.TestMbox.test_target_mailing_list)

SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint)
SKIP: test CVE tag format: No new CVE patches introduced (test_patch.TestPatch.test_cve_tag_format)
SKIP: test Signed-off-by presence: No new CVE patches introduced (test_patch.TestPatch.test_signed_off_by_presence)
SKIP: test Upstream-Status presence: No new CVE patches introduced (test_patch.TestPatch.test_upstream_status_presence_format)
SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test lic files chksum presence: No added recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_presence)
SKIP: test license presence: No added recipes, skipping test (test_metadata.TestMetadata.test_license_presence)
SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint)
SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head)
SKIP: test summary presence: No added recipes, skipping test (test_metadata.TestMetadata.test_summary_presence)

---

Please address the issues identified and
submit a new revision of the patch, or alternatively, reply to this
email with an explanation of why the patch should be accepted. If you
believe these results are due to an error in patchtest, please submit a
bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category
under 'Yocto Project Subprojects'). For more information on specific
failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank
you!

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [OE-core] [PATCH] spirv-llvm-translator: Upgrade to 21.1.0
  2025-08-15 16:25 [PATCH] spirv-llvm-translator: Upgrade to 21.1.0 Khem Raj
  2025-08-15 16:30 ` Patchtest results for " patchtest
@ 2025-08-17 17:26 ` Mathieu Dubois-Briand
  2025-08-18 16:51   ` Khem Raj
  1 sibling, 1 reply; 4+ messages in thread
From: Mathieu Dubois-Briand @ 2025-08-17 17:26 UTC (permalink / raw)
  To: raj.khem, openembedded-core

On Fri Aug 15, 2025 at 6:25 PM CEST, Khem Raj via lists.openembedded.org wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---

Hi Khem,

It looks like this is breaking the build:

ERROR: spirv-llvm-translator-native-21.1.0-r0 do_configure: Execution of '/srv/pokybuild/yocto-worker/qemux86-64-x32/build/build/tmp/work/x86_64-linux/spirv-llvm-translator-native/21.1.0/temp/run.do_configure.97313' failed with exit code 1
...
| CMake Error at CMakeLists.txt:82 (find_package):
|   Could not find a configuration file for package "LLVM" that is compatible
|   with requested version "21.1.0".
|
|   The following configuration files were considered but not accepted:
| 
|     /srv/pokybuild/yocto-worker/qemux86-64-x32/build/build/tmp/work/x86_64-linux/spirv-llvm-translator-native/21.1.0/recipe-sysroot-native/usr/lib/cmake/llvm/LLVMConfig.cmake, version: 20.1.8

https://autobuilder.yoctoproject.org/valkyrie/#/builders/11/builds/2207
https://autobuilder.yoctoproject.org/valkyrie/#/builders/50/builds/2253
https://autobuilder.yoctoproject.org/valkyrie/#/builders/63/builds/2058

Can you have a look at this please?

Best regards,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [OE-core] [PATCH] spirv-llvm-translator: Upgrade to 21.1.0
  2025-08-17 17:26 ` [OE-core] " Mathieu Dubois-Briand
@ 2025-08-18 16:51   ` Khem Raj
  0 siblings, 0 replies; 4+ messages in thread
From: Khem Raj @ 2025-08-18 16:51 UTC (permalink / raw)
  To: Mathieu Dubois-Briand; +Cc: openembedded-core

On Sun, Aug 17, 2025 at 10:26 AM Mathieu Dubois-Briand
<mathieu.dubois-briand@bootlin.com> wrote:
>
> On Fri Aug 15, 2025 at 6:25 PM CEST, Khem Raj via lists.openembedded.org wrote:
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > ---
>
> Hi Khem,
>
> It looks like this is breaking the build:
>
> ERROR: spirv-llvm-translator-native-21.1.0-r0 do_configure: Execution of '/srv/pokybuild/yocto-worker/qemux86-64-x32/build/build/tmp/work/x86_64-linux/spirv-llvm-translator-native/21.1.0/temp/run.do_configure.97313' failed with exit code 1
> ...
> | CMake Error at CMakeLists.txt:82 (find_package):
> |   Could not find a configuration file for package "LLVM" that is compatible
> |   with requested version "21.1.0".
> |
> |   The following configuration files were considered but not accepted:
> |
> |     /srv/pokybuild/yocto-worker/qemux86-64-x32/build/build/tmp/work/x86_64-linux/spirv-llvm-translator-native/21.1.0/recipe-sysroot-native/usr/lib/cmake/llvm/LLVMConfig.cmake, version: 20.1.8
>
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/11/builds/2207
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/50/builds/2253
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/63/builds/2058
>
> Can you have a look at this please?

Let's wait for it. I will send it when LLVM 21.1 releases, it just
makes sense to
send them in lockstep.

>
> Best regards,
> Mathieu
>
> --
> Mathieu Dubois-Briand, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-08-18 16:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-15 16:25 [PATCH] spirv-llvm-translator: Upgrade to 21.1.0 Khem Raj
2025-08-15 16:30 ` Patchtest results for " patchtest
2025-08-17 17:26 ` [OE-core] " Mathieu Dubois-Briand
2025-08-18 16:51   ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox