refactor: read aub configs from aub_configs component

Related-To: NEO-7579

Signed-off-by: Jakub Nowacki <jakub.nowacki@intel.com>
This commit is contained in:
Jakub Nowacki
2025-01-30 11:51:17 +00:00
committed by Compute-Runtime-Automation
parent 4327f8c832
commit bc671249bd
2 changed files with 7 additions and 4 deletions

View File

@@ -1,14 +1,17 @@
#
# Copyright (C) 2020-2024 Intel Corporation
# Copyright (C) 2020-2025 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
if(DEFINED AUB_STREAM_PROJECT_NAME)
set(AUBCONFIG_PATH "${NEO_SOURCE_DIR}/../aub_configs/CMakeLists.txt")
if(DEFINED AUB_STREAM_PROJECT_NAME AND EXISTS ${AUBCONFIG_PATH})
add_custom_target(run_aub_tests)
set(AUB_TESTS_TARGETS_FOLDER "aub_product_targets")
set_target_properties(run_aub_tests PROPERTIES FOLDER ${AUB_TESTS_TARGETS_FOLDER})
set_property(GLOBAL PROPERTY NEO_PLATFORMS_FOR_AUB_GENERATION)
include(${AUBCONFIG_PATH})
add_subdirectories()

View File

@@ -1,10 +1,10 @@
#
# Copyright (C) 2020-2021 Intel Corporation
# Copyright (C) 2020-2025 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
if(TESTS_TGLLP)
set(aub_test_config "tgllp/1/6/16/0")
set(aub_test_config ${TGLLP_CONFIG_STR})
include(${NEO_SOURCE_DIR}/cmake/run_aub_test_target.cmake)
endif()