[PATCH] llvm/clang: Upgrade to 21.1.8 release

Yash.Shinde
2025-12-23T09:45:42Z

From: HemanthKumar M D <hemanth.250302@gmail.com>

Brings following bugfixes on top of 21.1.7

2078da43e25a (HEAD, tag: llvmorg-21.1.8, origin/release/21.x) [Github] Remove use of setup-windows and install-ninja in llvm tests
b6360d3bc7a9 [Github] Remove install-ninja/setup-windows
7eb4bfe053d6 [ExtractAPI] Format typedef params correctly (#171516)
51e5074676d4 [compiler-rt][sanitizer] fix i386 build for Haiku (#171075)
d2e835bd4638 [SelectOptimize] Fix incorrect -1 immediate for large integers (#170860)
4b24e73d34ca [WebAssembly] Remove FAKE_USEs before ExplicitLocals (#160768)
4582a800c588 release/21.x: [clang-format] Fix a regression in annotating star before lambda (#170969)
a5658809ac4a [clang-format] Fix a crash in AlignArrayOfStructures (#167099)
94c40c61c1ce [clang-format] Don't swap `(const override)` with QAS_Right (#167191)
b845b4cd771e [rtsan] Handle attributed IR function declarations (#169577)
f68f64eb8130 Bump version to 21.1.8

Signed-off-by: Hemanth Kumar M D <hemanth.250302@gmail.com>
Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
---
meta/recipes-devtools/clang/common-clang.inc | 2 +-
meta/recipes-devtools/clang/common.inc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/clang/common-clang.inc b/meta/recipes-devtools/clang/common-clang.inc
index ae0caa6f01..1f77400dd4 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 = "21"
MINOR_VER = "1"
-PATCH_VER = "7"
+PATCH_VER = "8"
# 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 e852f03c1e..1e70e9c64b 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] = "e5b65fd79c95c343bb584127114cb2d252306c1ada1e057899b6aacdd445899e"
+SRC_URI[sha256sum] = "4633a23617fa31a3ea51242586ea7fb1da7140e426bd62fc164261fe036aa142"

SRC_URI = "\
${BASEURI} \
--
2.49.0