]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
llvm: add SPIRV-LLVM-Translator support
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Thu, 10 Apr 2025 02:54:47 +0000 (05:54 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 11 Apr 2025 10:44:18 +0000 (11:44 +0100)
commita617aaf3ac6b1ef2f4b0aaf6ca60122425ea6a7e
tree4e6ed9d9b9f85c558cc5a158242ae86336a60b27
parent2773404dec7840e2252cfd5bf474be70d8e7888f
llvm: add SPIRV-LLVM-Translator support

Mesa builds require SPIRV-LLVM-Translator in order to build CLC support.
While it is possible to build it separately (like meta-clang does), it
also requires a separate clang compiler (which OE-Core doesn't provide).

Use an alternative path and build SPIRV-LLVM-Translator as a part of the
LLVM build process, lifting the requirement for the separate clang. Once
Clang is properly integrated into the OE-Core layer, this can be split
to a separate package and dropped. In order to ease migration from
meta-clang and to ease future split, PROVIDE the spirv-llvm-translator
and make the llvm-spirv package RPROVIDE spirv-llvm-translator.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/llvm/llvm/spirv-internal-build.patch [new file with mode: 0644]
meta/recipes-devtools/llvm/llvm/spirv-shared-library.patch [new file with mode: 0644]
meta/recipes-devtools/llvm/llvm_20.1.2.bb