* [PATCH 0/3] clang/llvm: Upgrade to 23.1.5
@ 2026-11-10 6:16 sunilkumar.dora
2026-11-10 6:16 ` [PATCH 1/3] clang/llvm: Upgrade from 23.1.3 to 23.1.5 release sunilkumar.dora
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: sunilkumar.dora @ 2026-11-10 6:16 UTC (permalink / raw)
To: openembedded-core
Cc: richard.purdie, sundeep.kokkonda, Randy.MacLeod, sunilkumar.dora,
raj.khem
From: Sunil Dora <sunilkumar.dora@windriver.com>
This moves clang/llvm from 23.1.3 to 23.1.5. All 35 carried patches
apply as is, nothing they touch changed between the two tags.
23.1.4 failed the toolchain selftest on all five -tc builders in the two
new tools/extract_symbols/registry-* tests. Their lit config runs the
python cmake found at configure time, the build host python, which is
not there on the target. Other python based tests go through lit's
%python, the python running lit, so this never showed up before. Clang
has the same problem in its own substitutions.
Patch 2 rewrites the recorded python path to the target one in both
recipes when CLANG_ENABLE_TESTSUITE is set. Patch 3 brings back the
tests excluded only for this reason: 99 pass in clang and 67 in llvm on
target, the other 9 are UpdateTestChecks tests unsupported in this build.
The extract_symbols config is being fixed upstream in
https://github.com/llvm/llvm-project/pull/240530, but that covers just
those two tests. Clang and the other llvm substitutions still use the
configured python, so the recipe fix covers all of them at once and
leaves nothing to rebase on the next bump.
Tested locally: clang family, core-image-minimal, spirv-llvm-translator,
rust and mesa for qemux86-64 glibc; musl family and image; lib32-llvm and
openmp with multilib; clang and compiler-rt for qemux86, qemuarm and
qemuarm64. oe-selftest llvm, clang and lld pass on qemux86-64, llvm on
qemux86. On the autobuilder all five -tc builders (qemux86-64, qemux86,
qemuarm, qemuarm64, qemuriscv64) pass the llvm, clang and lld selftests
with the re-enabled tests; multilib, musl-qemuarm64, musl-qemux86 and
musl-qemux86-64 pass as well.
Sunil Dora (3):
clang/llvm: Upgrade from 23.1.3 to 23.1.5 release
clang/llvm: Point lit at the target python for the test suite
oeqa/selftest/clang: Re-enable tests that only needed the target
python
meta/conf/distro/include/maintainers.inc | 2 +-
meta/lib/oeqa/selftest/cases/clang.py | 25 --------------------
meta/recipes-devtools/clang/clang_git.bb | 12 ++++++++++
meta/recipes-devtools/clang/common-clang.inc | 2 +-
meta/recipes-devtools/clang/common.inc | 2 +-
meta/recipes-devtools/clang/llvm_git.bb | 9 +++++++
6 files changed, 24 insertions(+), 28 deletions(-)
--
2.49.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/3] clang/llvm: Upgrade from 23.1.3 to 23.1.5 release
2026-11-10 6:16 [PATCH 0/3] clang/llvm: Upgrade to 23.1.5 sunilkumar.dora
@ 2026-11-10 6:16 ` sunilkumar.dora
2026-11-10 6:16 ` [PATCH 2/3] clang/llvm: Point lit at the target python for the test suite sunilkumar.dora
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: sunilkumar.dora @ 2026-11-10 6:16 UTC (permalink / raw)
To: openembedded-core
Cc: richard.purdie, sundeep.kokkonda, Randy.MacLeod, sunilkumar.dora,
raj.khem
From: Sunil Dora <sunilkumar.dora@windriver.com>
https://discourse.llvm.org/t/llvm-23-1-4-released/92564
https://discourse.llvm.org/t/llvm-23-1-5-released/92716
Brings following fixes:
392dfff97d29 [clang] Add release note for EmitDeferred re-emission fix on 23.x
8db94f824874 [clang][Modules] Keep existing global definition on type mismatch in GetOrCreateLLVMGlobal (#223877)
32e470fa5c45 [Clang] Don't skip lambda constraints when substituting type constraints (#236425)
20eceee39e49 Test-behaviour-changes from the cherry-pick of 46965cf.
b10c62b2d995 [VPlan] Don't merge allocas across lanes, parts or recipes. (#229929)
86fe084e4c5a [LV] Add tests showing alloca miscompiles. (#229911)
a738f2737189 [Clang] use `SubstConstraintExpr` instead of `SubstExpr` in `Sema::BuildExprRequirement` (#236286)
bdeee0d0397c [lldb][OpenBSD] Fix sysctl usage for process info (#122534)
99001e325442 [RISCV] Correctly restore libcall CSRs with SCS
ce24d5069509 [RISCV] Ensure Shadow Stack checks correct RA
5e1a49c5afaf [SelectionDAG] Don't always use abs(sub) when expanding abdu (#235043)
ecf9bb207c8d [Allocator] Cap MinAlign at alignof(max_align_t) (#235373)
8ceacf8097bb [VPlan] Avoid recursive-fan-out of usesFirstLaneOnly (NFC) (#229130)
94467edd50bc [flang][OpenMP] Fix verification of REF modifier on LINEAR clause (#232367)
093145f1e207 [clang][Driver] Fix libc++ include path on OpenBSD (#212979)
7ddf6cc19e82 [TailCallElim] Drop poison-generating attributes and metadata from accumulator (#233527)
395ba2c4d274 [CodeGenPrepare] Drop poison-generating flags on extensions in optimizeExtUses (#234134)
5c71313dd978 [LoopUnroll] Invalidate epilogue exit phis with new predecessor. (#234202)
f8bd9523ff44 [LoongArch] fix more `sitofp` missing instruction issues (#234143)
1f43a9242e76 [debuginfod] Abort cached file stream if request fails (#232038)
2cc5b8ca55a1 [flang][OpenMP] Ignore DECLARE_SIMD and warn about missing implementa… (#232712)
fde947fd5839 [VPlan] Split legalizeAndOptimizeIVs in 2 phases. (#217765)
b2a8cf23b941 [libc++][ci] Retarget the ARM BuildKite runners (#224107)
7a941dfb2877 github-upload-release: Update script to work with draft releases (#229909)
4635269e3782 [X86] Fix constant vector i64 signed div/rem on 32-bit targets (#229244)
524ac171cd43 [GlobalISel] Drop nuw/nsw/disjoint when widening a result with G_ANYEXT (#218558)
fdf44b31a63e [InstCombine] Drop poison-generating annotations forming min/max for clamp (#231537)
d5f50fc559a2 [Mips] Fix symbol names for private functions in relocation hints (#230572)
52e90e1917a4 [Mips] Lower calls to private functions the same way as internal functions (#229975)
d5ff1316673e [clang][bytecode] disable tail calls on mips (#229679)
41042adf8339 [ARM] Fix miscompile in MAC for 64b values (#231702)
6c859967be70 [SPARC] Lower dynamic v2i32 vector extracts on 32-bit SPARC (#222348)
71c76755a8ff [ELF] Move layout-changing transforms before address assignment (#232189)
d946f7b2b214 [PowerPC] Don't let optimizeCompareInstr define CR0 while it is still live (#220999)
a5eac6566485 [Clang][counted_by] Load the count through unions by byte offset (#228309)
beb6b7dfae46 [X86] Don't treat vectors with elements wider than 64 bits as immediate-shiftable (#228840)
0cd28174a1f6 [SimplifyLibCalls] Fix ConstantInt construction based on char (#231159)
d66309da4d8d [SCEV] Add missing scPtrToAddr to getCastExpr. (#211899)
94ae4f86b8f3 [Passes] Run MergeICmps/ExpandMemCmps in LTO post-link pipeline (#230562)
7909311aa6f3 [Mips] Remove experimental warning bits in a few places (#223230)
1be9d5eb62e0 [llvm-objcopy][COFF] Keep COMDAT section definition symbols when stripping (#228783)
8451016186f2 release/23.x: [llvm-ar][GOFF] Implement symbol attributes for GOFF archives (#214528)
1b843902f5b4 Change release notes wording
ca0b6a823a5b workflows/release-binaries: Improve Windows installer (#220414)
5177329b802a [Windows] Export Registry<T> members and accessors for plugins again (#221296)
bb46d66418b9 [X86] Don't double count the interrupt stack alignment push in StackSize (#224029)
15d373104a6e [GlobalsAA] Handle self-referencing stores in `AnalyzeUsesOfPointer` (#213631)
705f593fb506 [AArch64] Restore always-inline behaviour for incompatible SME attributes.
bbbf266c78bf pre-commit test
195209c5c105 [SanitizerCoverage] Don't create comdat for unnamed functions (#228959)
3dadaf417121 [PGO] Fix PGO instrumentation for selects with poison condition (#229002)
370eb8ddac24 [Mips][FastISel] Also add low part when materializing private functions (#229717)
d7cdb9b24351 [SelectionDAG] Do not flag undef bitcast lanes as known zero
13d7a167327c [CAS] Close the stderr temp file of the out-of-process validator (#226844)
affff9cc58ab [llvm][Support] Use ::closesocket for native sockets on Windows (#226613)
8e044a8f3ada [NVPTX] Set default value of nvptx-allow-ftz-atomics to true (#206154)
Signed-off-by: Sunil Dora <sunilkumar.dora@windriver.com>
---
meta/conf/distro/include/maintainers.inc | 2 +-
meta/recipes-devtools/clang/common-clang.inc | 2 +-
meta/recipes-devtools/clang/common.inc | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index ec7a93562e..72dacce3b4 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -484,7 +484,7 @@ RECIPE_MAINTAINER:pn-linux-yocto-tiny = "Bruce Ashfield <bruce.ashfield@gmail.co
RECIPE_MAINTAINER:pn-lld = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER:pn-lldb = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER:pn-llvm = "Khem Raj <raj.khem@gmail.com>"
-RECIPE_MAINTAINER:pn-llvm-project-source-23.1.3 = "Khem Raj <raj.khem@gmail.com>"
+RECIPE_MAINTAINER:pn-llvm-project-source-23.1.5 = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER:pn-llvm-tblgen-native = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER:pn-log4cplus = "Unassigned <unassigned@yoctoproject.org>"
RECIPE_MAINTAINER:pn-logrotate = "Venkatasainath Ravikanti <venkatasainath.ravikanti@windriver.com>"
diff --git a/meta/recipes-devtools/clang/common-clang.inc b/meta/recipes-devtools/clang/common-clang.inc
index cf93fd0f62..9eb253d165 100644
--- a/meta/recipes-devtools/clang/common-clang.inc
+++ b/meta/recipes-devtools/clang/common-clang.inc
@@ -5,7 +5,7 @@ LLVM_HTTP ?= "https://github.com/llvm"
MAJOR_VER = "23"
MINOR_VER = "1"
-PATCH_VER = "3"
+PATCH_VER = "5"
# could be 'rcX' or 'git' or empty ( for release )
VER_SUFFIX = ""
diff --git a/meta/recipes-devtools/clang/common.inc b/meta/recipes-devtools/clang/common.inc
index d1b784b450..dc1f8a7d8c 100644
--- a/meta/recipes-devtools/clang/common.inc
+++ b/meta/recipes-devtools/clang/common.inc
@@ -17,7 +17,7 @@ BASEURI ?= "${LLVM_HTTP}/llvm-project/releases/download/llvmorg-${PV}${VER_SUFFI
UPSTREAM_CHECK_URI = "${LLVM_HTTP}/llvm-project/releases/"
UPSTREAM_CHECK_REGEX = "releases/tag/llvmorg-?(?P<pver>\d+(\.\d+)+)"
SOURCEDIR ?= "llvm-project-${PV}${VER_SUFFIX}.src"
-SRC_URI[sha256sum] = "c44186a7762ed28954be72e5ff6df9808e0779d4f1bf014ecc4e7e211d31ee34"
+SRC_URI[sha256sum] = "fb50b1eac93ddeb3aa8dab4cfe324dff74f4a9c2bdee6160c9e36188f8d06a6e"
SRC_URI = "\
${BASEURI} \
--
2.49.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/3] clang/llvm: Point lit at the target python for the test suite
2026-11-10 6:16 [PATCH 0/3] clang/llvm: Upgrade to 23.1.5 sunilkumar.dora
2026-11-10 6:16 ` [PATCH 1/3] clang/llvm: Upgrade from 23.1.3 to 23.1.5 release sunilkumar.dora
@ 2026-11-10 6:16 ` sunilkumar.dora
2026-11-10 6:16 ` [PATCH 3/3] oeqa/selftest/clang: Re-enable tests that only needed the target python sunilkumar.dora
2026-11-10 7:48 ` [OE-core] [PATCH 0/3] clang/llvm: Upgrade to 23.1.5 Khem Raj
3 siblings, 0 replies; 5+ messages in thread
From: sunilkumar.dora @ 2026-11-10 6:16 UTC (permalink / raw)
To: openembedded-core
Cc: richard.purdie, sundeep.kokkonda, Randy.MacLeod, sunilkumar.dora,
raj.khem
From: Sunil Dora <sunilkumar.dora@windriver.com>
lit.site.cfg.py records the python cmake found on the build host, but
the test suite runs on the target. Any test calling that python directly
fails there. In llvm the extract_symbols tests, new in 23.1.4, do this
and fail on all the -tc builders. In clang, %deps-to-rsp,
%scan-deps-filter, %hmaptool and %check_analyzer_fixit are built the
same way, which is why the ClangScanDeps tests got excluded in
0e7f898dc4.
Rewrite the recorded path after configure in both recipes. Changing
Python3_EXECUTABLE itself is not an option, cmake.bbclass needs it for
the build.
The extract_symbols config is being changed upstream to use the python
running lit, https://github.com/llvm/llvm-project/pull/240530. That
covers only those two tests though, the clang substitutions and the
other llvm ones still use the configured python, so this is done in the
recipes for all of them rather than by carrying the upstream patch.
Signed-off-by: Sunil Dora <sunilkumar.dora@windriver.com>
---
meta/recipes-devtools/clang/clang_git.bb | 12 ++++++++++++
meta/recipes-devtools/clang/llvm_git.bb | 9 +++++++++
2 files changed, 21 insertions(+)
diff --git a/meta/recipes-devtools/clang/clang_git.bb b/meta/recipes-devtools/clang/clang_git.bb
index 90076f9d6d..6c149945fd 100644
--- a/meta/recipes-devtools/clang/clang_git.bb
+++ b/meta/recipes-devtools/clang/clang_git.bb
@@ -100,6 +100,18 @@ do_configure:prepend() {
ln -srf ${S}/clang-tools-extra ${S}/clang/tools/extra
}
+# The tests run on the target, so lit must use the target python.
+clang_lit_target_python() {
+ sed -i 's|^config.python_executable = .*|config.python_executable = "${bindir}/python3"|' \
+ ${B}/test/lit.site.cfg.py
+}
+
+do_configure:append:class-target() {
+ if [ "${CLANG_ENABLE_TESTSUITE}" = "1" ]; then
+ clang_lit_target_python
+ fi
+}
+
do_install:append() {
oe_multilib_header clang/Config/config.h
}
diff --git a/meta/recipes-devtools/clang/llvm_git.bb b/meta/recipes-devtools/clang/llvm_git.bb
index bec7e93eab..a61ddcb7ef 100644
--- a/meta/recipes-devtools/clang/llvm_git.bb
+++ b/meta/recipes-devtools/clang/llvm_git.bb
@@ -105,8 +105,17 @@ reproducible_build_variables() {
${B}/tools/llvm-config/BuildVariables.inc
}
+# The tests run on the target, so lit must use the target python.
+llvm_lit_target_python() {
+ sed -i 's|^config.python_executable = .*|config.python_executable = "${bindir}/python3"|' \
+ ${B}/test/lit.site.cfg.py
+}
+
do_configure:append:class-target() {
reproducible_build_variables
+ if [ "${CLANG_ENABLE_TESTSUITE}" = "1" ]; then
+ llvm_lit_target_python
+ fi
}
do_configure:append:class-nativesdk() {
reproducible_build_variables
--
2.49.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/3] oeqa/selftest/clang: Re-enable tests that only needed the target python
2026-11-10 6:16 [PATCH 0/3] clang/llvm: Upgrade to 23.1.5 sunilkumar.dora
2026-11-10 6:16 ` [PATCH 1/3] clang/llvm: Upgrade from 23.1.3 to 23.1.5 release sunilkumar.dora
2026-11-10 6:16 ` [PATCH 2/3] clang/llvm: Point lit at the target python for the test suite sunilkumar.dora
@ 2026-11-10 6:16 ` sunilkumar.dora
2026-11-10 7:48 ` [OE-core] [PATCH 0/3] clang/llvm: Upgrade to 23.1.5 Khem Raj
3 siblings, 0 replies; 5+ messages in thread
From: sunilkumar.dora @ 2026-11-10 6:16 UTC (permalink / raw)
To: openembedded-core
Cc: richard.purdie, sundeep.kokkonda, Randy.MacLeod, sunilkumar.dora,
raj.khem
From: Sunil Dora <sunilkumar.dora@windriver.com>
These tests were excluded because they run python through lit
substitutions built from config.python_executable: %llvm-locstats,
%llvm-original-di-preservation and UpdateTestChecks in llvm,
%deps-to-rsp, %scan-deps-filter, %hmaptool, %check_analyzer_fixit and
exploded-graph-rewriter in clang. Now that lit uses the target python
they pass on target, 67 in llvm and 99 in clang, on qemux86-64 and
qemux86. The remaining 9 UpdateTestChecks tests are unsupported as they
need an assertions build or the AVR, Lanai or SystemZ targets.
tools/opt-viewer stays excluded, it needs python modules the image does
not have.
Signed-off-by: Sunil Dora <sunilkumar.dora@windriver.com>
---
meta/lib/oeqa/selftest/cases/clang.py | 25 -------------------------
1 file changed, 25 deletions(-)
diff --git a/meta/lib/oeqa/selftest/cases/clang.py b/meta/lib/oeqa/selftest/cases/clang.py
index 93ef781453..e636846e39 100644
--- a/meta/lib/oeqa/selftest/cases/clang.py
+++ b/meta/lib/oeqa/selftest/cases/clang.py
@@ -156,8 +156,6 @@ class LLVMSelfTestSystemEmulated(ClangFamilyBase):
"tools/llvm-cgdata/merge-hashtree-concat\\.test$",
"tools/llvm-cgdata/merge-hashtree-double\\.test$",
"tools/llvm-cgdata/merge-hashtree-single\\.test$",
- "tools/llvm-locstats/locstats\\.ll$",
- "tools/llvm-locstats/no_scope_bytes\\.ll$",
"tools/llvm-objcopy/DXContainer/dump-section\\.yaml$",
"tools/llvm-objcopy/DXContainer/dump-section-priv\\.yaml$",
"tools/llvm-objcopy/ELF/basic-binary-copy\\.test$",
@@ -175,12 +173,9 @@ class LLVMSelfTestSystemEmulated(ClangFamilyBase):
"tools/llvm-objcopy/ELF/strip-sections-only-section\\.test$",
"tools/llvm-objcopy/ELF/strip-sections\\.test$",
"tools/llvm-objcopy/ELF/update-section\\.test$",
- "tools/llvm-original-di-preservation/acceptance-test\\.test$",
- "tools/llvm-original-di-preservation/basic\\.test$",
"tools/llvm-reduce/temporary-files-as-bitcode-split\\.ll$",
"tools/not/disable-symbolization\\.test$",
"tools/opt-viewer/.*",
- "tools/UpdateTestChecks/.*",
"tools/yaml2obj/ELF/custom-fill\\.yaml$",
"tools/yaml2obj/ELF/header-elfdatanone\\.yaml$",
"tools/yaml2obj/ELF/header-sh-fields\\.yaml$",
@@ -239,8 +234,6 @@ class ClangSelfTestSystemEmulated(ClangFamilyBase):
"AST/ByteCode/records\\.cpp$",
"AST/ByteCode/spaceship\\.cpp$",
"AST/ByteCode/unions\\.cpp$",
- "Analysis/dead-stores\\.c$",
- "Analysis/exploded-graph-rewriter/.*",
"Analysis/scan-build/cxx-name\\.test$",
"Analysis/scan-build/deduplication\\.test$",
"Analysis/scan-build/exclude_directories\\.test$",
@@ -250,19 +243,9 @@ class ClangSelfTestSystemEmulated(ClangFamilyBase):
"Analysis/scan-build/plist_output\\.test$",
"Analysis/scan-build/rebuild_index/rebuild_index\\.test$",
"Analysis/scan-build/silence-core-checkers\\.test$",
- "Analysis/virtualcall-fixits\\.cpp$",
"C/C23/n3018\\.c$",
"ClangScanDeps/build-session-validation-outdated-module\\.c$",
"ClangScanDeps/build-session-validation-relocated-modules\\.c$",
- "ClangScanDeps/diagnostics\\.c$",
- "ClangScanDeps/module.*",
- "ClangScanDeps/multiple-commands\\.c$",
- "ClangScanDeps/optimize-vfs-edgecases\\.m$",
- "ClangScanDeps/optimize-vfs-pch\\.m$",
- "ClangScanDeps/prebuilt-modules-in-stable-dirs\\.c$",
- "ClangScanDeps/tu-buffer\\.c$",
- "ClangScanDeps/visible-modules\\.c$",
- "ClangScanDeps/Wsystem-headers-in-module\\.c$",
"CodeGen/builtins\\.c$",
"CodeGen/compound-literal\\.c$",
"CodeGenCUDA/device-const-var-linkage\\.cu$",
@@ -275,15 +258,7 @@ class ClangSelfTestSystemEmulated(ClangFamilyBase):
"Frontend/rewrite-includes-bom\\.c$",
"Interpreter/cxx20-modules\\.cppm$",
"Modules/crash-vfs-umbrella-frameworks\\.m$",
- "Modules/double-quotes\\.m$",
- "Modules/framework-public-includes-private\\.m$",
- "Modules/implicit-module-header-maps\\.cpp$",
"Preprocessor/embed_constexpr\\.c$",
- "Preprocessor/header-search-crash\\.c$",
- "Preprocessor/headermap-rel\\.c$",
- "Preprocessor/headermap-rel2\\.c$",
- "Preprocessor/include-header-missing-in-framework-with-headermap\\.c$",
- "Preprocessor/search-path-usage\\.m$",
"PCH/cxx20-template-args\\.cpp$",
"Sema/arithmetic-fence-builtin\\.c$",
"Sema/atomic-expr\\.c$",
--
2.49.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [OE-core] [PATCH 0/3] clang/llvm: Upgrade to 23.1.5
2026-11-10 6:16 [PATCH 0/3] clang/llvm: Upgrade to 23.1.5 sunilkumar.dora
` (2 preceding siblings ...)
2026-11-10 6:16 ` [PATCH 3/3] oeqa/selftest/clang: Re-enable tests that only needed the target python sunilkumar.dora
@ 2026-11-10 7:48 ` Khem Raj
3 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2026-11-10 7:48 UTC (permalink / raw)
To: SunilKumar.Dora
Cc: openembedded-core, richard.purdie, sundeep.kokkonda,
Randy.MacLeod
[-- Attachment #1: Type: text/plain, Size: 3093 bytes --]
This patch looks good to me
On Mon, Nov 9, 2026 at 10:16 PM Dora, Sunil Kumar via openembedded-core
<SunilKumar.Dora=windriver.com@lists.openembedded.org> wrote:
> From: Sunil Dora <sunilkumar.dora@windriver.com>
>
> This moves clang/llvm from 23.1.3 to 23.1.5. All 35 carried patches
> apply as is, nothing they touch changed between the two tags.
>
> 23.1.4 failed the toolchain selftest on all five -tc builders in the two
> new tools/extract_symbols/registry-* tests. Their lit config runs the
> python cmake found at configure time, the build host python, which is
> not there on the target. Other python based tests go through lit's
> %python, the python running lit, so this never showed up before. Clang
> has the same problem in its own substitutions.
>
> Patch 2 rewrites the recorded python path to the target one in both
> recipes when CLANG_ENABLE_TESTSUITE is set. Patch 3 brings back the
> tests excluded only for this reason: 99 pass in clang and 67 in llvm on
> target, the other 9 are UpdateTestChecks tests unsupported in this build.
>
> The extract_symbols config is being fixed upstream in
> https://github.com/llvm/llvm-project/pull/240530, but that covers just
> those two tests. Clang and the other llvm substitutions still use the
> configured python, so the recipe fix covers all of them at once and
> leaves nothing to rebase on the next bump.
>
> Tested locally: clang family, core-image-minimal, spirv-llvm-translator,
> rust and mesa for qemux86-64 glibc; musl family and image; lib32-llvm and
> openmp with multilib; clang and compiler-rt for qemux86, qemuarm and
> qemuarm64. oe-selftest llvm, clang and lld pass on qemux86-64, llvm on
> qemux86. On the autobuilder all five -tc builders (qemux86-64, qemux86,
> qemuarm, qemuarm64, qemuriscv64) pass the llvm, clang and lld selftests
> with the re-enabled tests; multilib, musl-qemuarm64, musl-qemux86 and
> musl-qemux86-64 pass as well.
>
> Sunil Dora (3):
> clang/llvm: Upgrade from 23.1.3 to 23.1.5 release
> clang/llvm: Point lit at the target python for the test suite
> oeqa/selftest/clang: Re-enable tests that only needed the target
> python
>
> meta/conf/distro/include/maintainers.inc | 2 +-
> meta/lib/oeqa/selftest/cases/clang.py | 25 --------------------
> meta/recipes-devtools/clang/clang_git.bb | 12 ++++++++++
> meta/recipes-devtools/clang/common-clang.inc | 2 +-
> meta/recipes-devtools/clang/common.inc | 2 +-
> meta/recipes-devtools/clang/llvm_git.bb | 9 +++++++
> 6 files changed, 24 insertions(+), 28 deletions(-)
>
> --
> 2.49.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#249900):
> https://lists.openembedded.org/g/openembedded-core/message/249900
> Mute This Topic: https://lists.openembedded.org/mt/122189926/1997914
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [
> raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
[-- Attachment #2: Type: text/html, Size: 4321 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-11-10 7:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-10 6:16 [PATCH 0/3] clang/llvm: Upgrade to 23.1.5 sunilkumar.dora
2026-11-10 6:16 ` [PATCH 1/3] clang/llvm: Upgrade from 23.1.3 to 23.1.5 release sunilkumar.dora
2026-11-10 6:16 ` [PATCH 2/3] clang/llvm: Point lit at the target python for the test suite sunilkumar.dora
2026-11-10 6:16 ` [PATCH 3/3] oeqa/selftest/clang: Re-enable tests that only needed the target python sunilkumar.dora
2026-11-10 7:48 ` [OE-core] [PATCH 0/3] clang/llvm: Upgrade to 23.1.5 Khem Raj
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox