meta-intel/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_14.0.0.bb
Yogesh Tyagi f30c2a8a3d opencl-clang/14.0: update to latest
Drop patch 0001-don-t-redefine-LLVM_TABLEGEN_EXE.patch
which is not needed anymore

Backport a fix from main branch to fix build issues.

Move do_install:append:class-native to individual recipe

Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2023-08-25 13:50:42 +08:00

21 lines
588 B
BlitzBasic

require opencl-clang.inc
SRC_URI:append = " file://0001-Fix-standalone-build-415.patch \
"
SRCREV = "cf95b338d14685e4f3402ab1828bef31d48f1fd6"
BRANCH = "ocl-open-140"
DEPENDS += " spirv-llvm-translator"
EXTRA_OECMAKE += "\
-DLLVM_TABLEGEN_EXE=${STAGING_BINDIR_NATIVE}/llvm-tblgen \
-DCMAKE_SKIP_RPATH=TRUE \
-DPREFERRED_LLVM_VERSION=${LLVMVERSION} \
"
do_install:append:class-native() {
install -d ${D}${bindir}
install -m 0755 ${B}/bin/linux_resource_linker ${D}${bindir}/
}