feature: Enabling platforms in ocloc by default

This feature enables supported platforms in ocloc even
if not enabled for driver.
Allows sharing single ocloc instance for multiple driver-platform
configurations

Related-To: NEO-10531

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
This commit is contained in:
Chodor, Jaroslaw
2024-05-28 03:16:24 +00:00
committed by Compute-Runtime-Automation
parent 7e6a08098b
commit ad155da67a
5 changed files with 119 additions and 7 deletions

View File

@@ -230,6 +230,14 @@ macro(ADD_PLATFORM_FOR_CORE_TYPE LIST_TYPE CORE_TYPE PLATFORM_NAME)
endif()
endmacro()
macro(ENABLE_ADDITIONAL_SKU SKU_NAME)
set(SUPPORT_${SKU_NAME} TRUE CACHE BOOL "Support ${SKU_NAME}" FORCE)
endmacro()
macro(TEST_ADDITIONAL_SKU SKU_NAME)
set(TESTS_${SKU_NAME} TRUE CACHE BOOL "Build ULTs for ${SKU_NAME}" FORCE)
endmacro()
macro(ADD_AOT_DEFINITION CONFIG_NAME)
list(APPEND AOT_DEFINITIONS "SUPPORT_AOT_${CONFIG_NAME}")
endmacro()