summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/clang-layer
diff options
context:
space:
mode:
authorYogesh Tyagi <yogesh.tyagi@intel.com>2025-07-24 14:04:06 +0800
committerAnuj Mittal <anuj.mittal@intel.com>2025-07-25 14:17:13 +0800
commit585c060c0d3bd379be1160f5a8f2d4e82e472863 (patch)
tree827bb892376f7c8ee80453a2da90dd3b24458789 /dynamic-layers/clang-layer
parent96ee6e907d4b49750c562affa89a2606a4a0cc2c (diff)
downloadmeta-intel-585c060c0d3bd379be1160f5a8f2d4e82e472863.tar.gz
opencl-clang : set a baseline policy version for cmake
Cmake upgrade to 4.0+ removes compatibility with versions older than 3.5 [1]. Set a baseline policy version for CMake using CMAKE_POLICY_VERSION_MINIMUM variable until upstream source implements the fix. [1] https://git.yoctoproject.org/poky/commit/?id=2c9a6b4a81b642fc3e6815aa83d1c9bafb56c7db Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'dynamic-layers/clang-layer')
-rw-r--r--dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang.inc b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang.inc
index 726b035d..943ddf46 100644
--- a/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang.inc
+++ b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang.inc
@@ -23,6 +23,7 @@ EXTRA_OECMAKE += "\
23 -DLLVM_TABLEGEN_EXE=${STAGING_BINDIR_NATIVE}/llvm-tblgen \ 23 -DLLVM_TABLEGEN_EXE=${STAGING_BINDIR_NATIVE}/llvm-tblgen \
24 -DCMAKE_SKIP_RPATH=TRUE \ 24 -DCMAKE_SKIP_RPATH=TRUE \
25 -DPREFERRED_LLVM_VERSION=${LLVMVERSION} \ 25 -DPREFERRED_LLVM_VERSION=${LLVMVERSION} \
26 -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
26 " 27 "
27 28
28do_install:append:class-native() { 29do_install:append:class-native() {