]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lit/Unit/lit.site.cfg.in
Vendor import of lldb trunk r256945:
[FreeBSD/FreeBSD.git] / lit / Unit / lit.site.cfg.in
1 ## Autogenerated by LLVM/lld configuration.
2 # Do not edit!
3 config.llvm_src_root = "@LLVM_SOURCE_DIR@"
4 config.llvm_obj_root = "@LLVM_BINARY_DIR@"
5 config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
6 config.llvm_libs_dir = "@LLVM_LIBS_DIR@"
7 config.llvm_build_mode = "@LLVM_BUILD_MODE@"
8 config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"
9 config.lldb_obj_root = "@LLDB_BINARY_DIR@"
10 config.lldb_src_root = "@LLDB_SOURCE_DIR@"
11 config.target_triple = "@TARGET_TRIPLE@"
12 config.python_executable = "@PYTHON_EXECUTABLE@"
13
14 # Support substitution of the tools and libs dirs with user parameters. This is
15 # used when we can't determine the tool dir at configuration time.
16 try:
17     config.llvm_tools_dir = config.llvm_tools_dir % lit_config.params
18     config.llvm_libs_dir = config.llvm_libs_dir % lit_config.params
19     config.llvm_build_mode = config.llvm_build_mode % lit_config.params
20 except KeyError as e:
21     key, = e.args
22     lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
23
24 # Let the main config do the real work.
25 lit_config.load_config(config, "@LLDB_SOURCE_DIR@/lit/Unit/lit.cfg")