aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaveen Saini <naveen.kumar.saini@intel.com>2021-02-01 16:36:08 +0800
committerAnuj Mittal <anuj.mittal@intel.com>2021-02-02 08:22:50 +0800
commit8f1dd0a28bf25598c23969704f4ef209a80f19a6 (patch)
tree4fca7df5b9cc0481c859b1785d0d6dfed2a0a471
parent50f0a4f4832f5d9a2e069ca649ccc7b3bba10329 (diff)
downloadmeta-intel-8f1dd0a28bf25598c23969704f4ef209a80f19a6.tar.gz
meta-intel-8f1dd0a28bf25598c23969704f4ef209a80f19a6.tar.bz2
meta-intel-8f1dd0a28bf25598c23969704f4ef209a80f19a6.zip
opencl-clang: set preferred LLVM version to 11.1.0
Ref:https://github.com/kraj/meta-clang/commit/67a7cad4bb48ef569b4eeb4b3c923133d2d422a6 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
-rw-r--r--dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_11.0.0.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_11.0.0.bb b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_11.0.0.bb
index 57b56d73..d0c852ab 100644
--- a/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_11.0.0.bb
+++ b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_11.0.0.bb
@@ -24,6 +24,7 @@ COMPATIBLE_HOST_libc-musl = "null"
EXTRA_OECMAKE += "\
-DLLVM_TABLEGEN_EXE=${STAGING_BINDIR_NATIVE}/llvm-tblgen \
-DCMAKE_SKIP_RPATH=TRUE \
+ -DPREFERRED_LLVM_VERSION="11.1.0" \
"
do_install_append_class-native() {