From 96ee6e907d4b49750c562affa89a2606a4a0cc2c Mon Sep 17 00:00:00 2001 From: Yogesh Tyagi Date: Thu, 24 Jul 2025 14:04:05 +0800 Subject: 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 Signed-off-by: Anuj Mittal --- .../clang-layer/recipes-opencl/igc/intel-graphics-compiler_2.10.10.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'dynamic-layers/clang-layer') 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 = " \ -DLLVM_LINK_EXE=${STAGING_BINDIR_NATIVE}/llvm-link \ -DCLANG_EXE=${STAGING_BINDIR_NATIVE}/clang \ -DCMAKE_CROSSCOMPILING_EMULATOR=${WORKDIR}/qemuwrapper \ + -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ " do_configure:prepend:class-target () { -- cgit v1.2.3-54-g00ecf