spirv-llvm-translator: Upgrade to 21.1.0

(From OE-Core rev: 082977b4359d1b13506e2df9b92fd63a3627df3b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2025-09-08 14:22:37 -07:00
committed by Richard Purdie
parent 673b5fd11a
commit b90ea2359c

View File

@@ -6,7 +6,7 @@ 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} \
"
@@ -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 \