We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3af43e3 commit 9f5e287Copy full SHA for 9f5e287
clang/utils/perf-training/lit.site.cfg.in
@@ -1,14 +1,15 @@
1
@LIT_SITE_CFG_IN_HEADER@
2
3
import sys
4
+import shlex
5
6
config.clang_tools_dir = lit_config.substitute("@CURRENT_TOOLS_DIR@")
7
config.perf_helper_dir = "@CMAKE_CURRENT_SOURCE_DIR@"
8
config.test_exec_root = "@CMAKE_CURRENT_BINARY_DIR@"
9
config.test_source_root = "@CLANG_PGO_TRAINING_DATA@"
10
config.target_triple = "@LLVM_TARGET_TRIPLE@"
11
config.python_exe = "@Python3_EXECUTABLE@"
-config.cmake_exe = "@CMAKE_COMMAND@"
12
+config.cmake_exe = shlex.quote("@CMAKE_COMMAND@")
13
config.llvm_src_dir ="@CMAKE_SOURCE_DIR@"
14
config.cmake_generator ="@CMAKE_GENERATOR@"
15
config.use_llvm_build = @CLANG_PGO_TRAINING_USE_LLVM_BUILD@
0 commit comments