Skip to contentSkip to conversation

clang: fix upstream version check

PATCH New Alexander Kanavin 1 participant 1 message May 7, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clang: fix upstream version check

From: Alexander Kanavin <[email protected]>

---
 meta/recipes-devtools/clang/common.inc | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/clang/common.inc +2 -0
index f733566bc88..a25a2031627 100644
@@ -14,6 +14,8 @@ LICENSE = "Apache-2.0-with-LLVM-exception"
 # GA Release
 RELEASE ?= "${PV}"
 BASEURI ?= "${LLVM_HTTP}/llvm-project/releases/download/llvmorg-${PV}/llvm-project-${PV}.src.tar.xz"
+UPSTREAM_CHECK_URI = "${LLVM_HTTP}/llvm-project/releases/"
+UPSTREAM_CHECK_REGEX = "releases/tag/llvmorg-?(?P<pver>\d+(\.\d+)+)"
 SOURCEDIR ?= "llvm-project-${PV}.src"
 SRC_URI[sha256sum] = "b6183c41281ee3f23da7fda790c6d4f5877aed103d1e759763b1008bdd0e2c50"
 
Signature · 1 line
2.39.5