refactor: add before cmake macro for older platforms

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2024-08-09 01:19:34 +00:00
committed by Compute-Runtime-Automation
parent 3e55b41668
commit 0940776a97
5 changed files with 18 additions and 2 deletions

View File

@@ -19,6 +19,15 @@ SET_FLAGS_FOR_CURRENT("XE2_HPG_CORE" "BMG" "LNL")
DISABLE_WDDM_LINUX_FOR("XE_HPC_CORE" "PVC")
foreach(CORE_TYPE ${XE_HPC_AND_BEFORE_CORE_TYPES})
if(TESTS_${CORE_TYPE})
set(TESTS_XE_HPC_AND_BEFORE 1)
endif()
if(SUPPORT_${CORE_TYPE})
set(SUPPORT_XE_HPC_AND_BEFORE 1)
endif()
endforeach()
foreach(CORE_TYPE ${XEHP_AND_LATER_CORE_TYPES})
if(TESTS_${CORE_TYPE})
set(TESTS_XEHP_AND_LATER 1)