Changeset View
Changeset View
Standalone View
Standalone View
mlir/test/lit.site.cfg.py.in
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | |||||
config.enable_rocm_runner = @MLIR_ENABLE_ROCM_RUNNER@ | config.enable_rocm_runner = @MLIR_ENABLE_ROCM_RUNNER@ | ||||
config.spirv_wrapper_library_dir = "@MLIR_SPIRV_WRAPPER_LIBRARY_DIR@" | config.spirv_wrapper_library_dir = "@MLIR_SPIRV_WRAPPER_LIBRARY_DIR@" | ||||
config.enable_spirv_cpu_runner = @MLIR_ENABLE_SPIRV_CPU_RUNNER@ | config.enable_spirv_cpu_runner = @MLIR_ENABLE_SPIRV_CPU_RUNNER@ | ||||
config.vulkan_wrapper_library_dir = "@MLIR_VULKAN_WRAPPER_LIBRARY_DIR@" | config.vulkan_wrapper_library_dir = "@MLIR_VULKAN_WRAPPER_LIBRARY_DIR@" | ||||
config.enable_vulkan_runner = @MLIR_ENABLE_VULKAN_RUNNER@ | config.enable_vulkan_runner = @MLIR_ENABLE_VULKAN_RUNNER@ | ||||
config.enable_bindings_python = @MLIR_ENABLE_BINDINGS_PYTHON@ | config.enable_bindings_python = @MLIR_ENABLE_BINDINGS_PYTHON@ | ||||
config.mlir_integration_test_dir = "@MLIR_INTEGRATION_TEST_DIR@" | config.mlir_integration_test_dir = "@MLIR_INTEGRATION_TEST_DIR@" | ||||
config.intel_sde_executable = "@INTEL_SDE_EXECUTABLE@" | config.intel_sde_executable = "@INTEL_SDE_EXECUTABLE@" | ||||
config.mlir_run_amx_tests = "@MLIR_RUN_AMX_TESTS@" | config.mlir_run_amx_tests = @MLIR_RUN_AMX_TESTS@ | ||||
config.mlir_run_x86vector_tests = "@MLIR_RUN_X86VECTOR_TESTS@" | config.mlir_run_x86vector_tests = @MLIR_RUN_X86VECTOR_TESTS@ | ||||
config.mlir_run_cuda_tensor_core_tests = "@MLIR_RUN_CUDA_TENSOR_CORE_TESTS@" | config.mlir_run_cuda_tensor_core_tests = @MLIR_RUN_CUDA_TENSOR_CORE_TESTS@ | ||||
config.mlir_include_integration_tests = "@MLIR_INCLUDE_INTEGRATION_TESTS@" | config.mlir_include_integration_tests = @MLIR_INCLUDE_INTEGRATION_TESTS@ | ||||
# Support substitution of the tools_dir with user parameters. This is | # Support substitution of the tools_dir with user parameters. This is | ||||
# used when we can't determine the tool dir at configuration time. | # used when we can't determine the tool dir at configuration time. | ||||
try: | try: | ||||
config.llvm_tools_dir = config.llvm_tools_dir % lit_config.params | config.llvm_tools_dir = config.llvm_tools_dir % lit_config.params | ||||
config.llvm_lib_dir = config.llvm_lib_dir % lit_config.params | config.llvm_lib_dir = config.llvm_lib_dir % lit_config.params | ||||
config.llvm_shlib_dir = config.llvm_shlib_dir % lit_config.params | config.llvm_shlib_dir = config.llvm_shlib_dir % lit_config.params | ||||
except KeyError: | except KeyError: | ||||
Show All 9 Lines |