mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
build: add cmake flag to skip mt unit tests
exclude mt test targets from ALL build Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a3bbfbc78f
commit
3b0b9f07a8
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2020-2021 Intel Corporation
|
||||
# Copyright (C) 2020-2025 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
@@ -7,7 +7,7 @@
|
||||
set(BUILT_IN_KERNEL_DIR "${NEO_SOURCE_DIR}/shared/source/built_ins")
|
||||
set(PLATFORM_SPECIFIC_TEST_TARGETS_FOLDER ult_product_targets)
|
||||
|
||||
if(NOT TARGET run_mt_unit_tests)
|
||||
if(NOT TARGET run_mt_unit_tests AND NOT NEO_SKIP_MT_UNIT_TESTS)
|
||||
add_custom_target(run_mt_unit_tests)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user