mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
Added support for new Compiler Cache environment variables in Level Zero. Moved `opencl/source/compiler_interface/default_cache_config.cpp` `level_zero/core/source/compiler_interface/default_cache_config.cpp` to shared directory `source/compiler_interface/default_cache_config.cpp` Switched enabling cache by default from per OS to per API. Changed default state of cl_cache in Level Zero to disabled. Related-To: NEO-10045 Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
28 lines
1.0 KiB
CMake
28 lines
1.0 KiB
CMake
#
|
|
# Copyright (C) 2019-2024 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
target_sources(neo_shared_tests PRIVATE
|
|
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
|
${CMAKE_CURRENT_SOURCE_DIR}/compiler_cache_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/compiler_interface_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/compiler_options_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/external_functions_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/intermediate_representations_tests.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/linker_tests.cpp
|
|
)
|
|
|
|
if(WIN32)
|
|
target_sources(neo_shared_tests PRIVATE
|
|
${CMAKE_CURRENT_SOURCE_DIR}/windows/compiler_cache_tests_windows.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/windows/default_cl_cache_config_tests.cpp
|
|
)
|
|
else()
|
|
target_sources(neo_shared_tests PRIVATE
|
|
${CMAKE_CURRENT_SOURCE_DIR}/linux/compiler_cache_tests_linux.cpp
|
|
${CMAKE_CURRENT_SOURCE_DIR}/linux/default_cl_cache_config_tests.cpp
|
|
)
|
|
endif()
|