summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaveen Saini <naveen.kumar.saini@intel.com>2021-09-03 01:20:03 (GMT)
committerAnuj Mittal <anuj.mittal@intel.com>2021-09-03 01:25:01 (GMT)
commit8be678fdefd3e18c778029491d62346e7c656a14 (patch)
treefb8ca99d701dd37da4943a2ed6734cc6d01a47e2
parent7cd64cc018d4eed644826076ec3eae3573f24e8f (diff)
downloadmeta-intel-8be678fdefd3e18c778029491d62346e7c656a14.tar.gz
opencl-clang/13.0.0: add recipe
Build opencl-clang with llvm-13 and point to latest from ocl-open-130 branch. 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_13.0.0.bb15
1 files changed, 15 insertions, 0 deletions
diff --git a/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_13.0.0.bb b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_13.0.0.bb
new file mode 100644
index 0000000..7ca7895
--- /dev/null
+++ b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_13.0.0.bb
@@ -0,0 +1,15 @@
1require opencl-clang.inc
2
3SRC_URI:append = " file://0001-don-t-redefine-LLVM_TABLEGEN_EXE.patch \
4 "
5SRCREV = "0f36f940b25b8e7661cfaf8a7c11fdbb7d853223"
6
7BRANCH = "ocl-open-130"
8
9DEPENDS += " spirv-llvm-translator"
10
11EXTRA_OECMAKE += "\
12 -DLLVM_TABLEGEN_EXE=${STAGING_BINDIR_NATIVE}/llvm-tblgen \
13 -DCMAKE_SKIP_RPATH=TRUE \
14 -DPREFERRED_LLVM_VERSION=${LLVMVERSION} \
15 "