mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-17 04:54:48 +08:00
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:
committed by
Compute-Runtime-Automation
parent
4327f8c832
commit
bc671249bd
@@ -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()
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user