Drop patch which is not required anymore.

Allow to build with llvm-12 and higher versions.

Ref: 
https://github.com/intel/opencl-clang/commit/447798893e7e381d5321f940d30710f72214c5af

Signed-off-by: Naveen Saini <[email protected]>
---
 .../recipes-opencl/opencl-clang/opencl-clang_12.0.0.bb     | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git 
a/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_12.0.0.bb 
b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_12.0.0.bb
index 6df10912..06dc44da 100644
--- 
a/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_12.0.0.bb
+++ 
b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_12.0.0.bb
@@ -6,10 +6,8 @@ LICENSE = "NCSA"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=e8a15bf1416762a09ece07e44c79118c"
 
 SRC_URI = 
"git://github.com/intel/opencl-clang.git;branch=ocl-open-120;protocol=https \
-           file://0001-don-t-redefine-LLVM_TABLEGEN_EXE.patch \
            "
-
-SRCREV = "cea544b04460a47848e585bfe75cd774c0324b45"
+SRCREV = "8fc6b059248dc6c9c40c7cbe5fedcc6ebb951983"
 
 S = "${WORKDIR}/git"
 
@@ -21,9 +19,8 @@ COMPATIBLE_HOST = '(x86_64).*-linux'
 COMPATIBLE_HOST_libc-musl = "null"
 
 EXTRA_OECMAKE += "\
-                  -DLLVM_TABLEGEN_EXE=${STAGING_BINDIR_NATIVE}/llvm-tblgen \
                   -DCMAKE_SKIP_RPATH=TRUE \
-                  -DPREFERRED_LLVM_VERSION="12.0.0" \
+                  -DPREFERRED_LLVM_VERSION=${LLVMVERSION} \
                   "
 
 do_install_append_class-native() {
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7103): 
https://lists.yoctoproject.org/g/meta-intel/message/7103
Mute This Topic: https://lists.yoctoproject.org/mt/83621689/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to