summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/clang-layer
diff options
context:
space:
mode:
authorYogesh Tyagi <yogesh.tyagi@intel.com>2025-07-24 14:04:05 +0800
committerAnuj Mittal <anuj.mittal@intel.com>2025-07-25 14:16:15 +0800
commit96ee6e907d4b49750c562affa89a2606a4a0cc2c (patch)
treeb859c22ef3a3247fbe33a3476091b92c60bee247 /dynamic-layers/clang-layer
parent12a4b73ec8df7334e0cb0823e6fd1a8aa9c55c8f (diff)
downloadmeta-intel-96ee6e907d4b49750c562affa89a2606a4a0cc2c.tar.gz
intel-graphics-compiler : 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/igc/intel-graphics-compiler_2.10.10.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_2.10.10.bb b/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_2.10.10.bb
index 05611cbf..f3c19ce1 100644
--- a/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_2.10.10.bb
+++ b/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_2.10.10.bb
@@ -54,6 +54,7 @@ EXTRA_OECMAKE = " \
54 -DLLVM_LINK_EXE=${STAGING_BINDIR_NATIVE}/llvm-link \ 54 -DLLVM_LINK_EXE=${STAGING_BINDIR_NATIVE}/llvm-link \
55 -DCLANG_EXE=${STAGING_BINDIR_NATIVE}/clang \ 55 -DCLANG_EXE=${STAGING_BINDIR_NATIVE}/clang \
56 -DCMAKE_CROSSCOMPILING_EMULATOR=${WORKDIR}/qemuwrapper \ 56 -DCMAKE_CROSSCOMPILING_EMULATOR=${WORKDIR}/qemuwrapper \
57 -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
57 " 58 "
58 59
59do_configure:prepend:class-target () { 60do_configure:prepend:class-target () {