1## Autogenerated by LLVM/Clang configuration.
2# Do not edit!
3config.llvm_src_root = "@LLVM_SOURCE_DIR@"
4config.llvm_obj_root = "@LLVM_BINARY_DIR@"
5config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
6config.llvm_libs_dir = "@LLVM_LIBS_DIR@"
7config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"
8config.clang_obj_root = "@CLANG_BINARY_DIR@"
9config.target_triple = "@TARGET_TRIPLE@"
10config.llvm_use_sanitizer = "@LLVM_USE_SANITIZER@"
11
12# Support substitution of the tools and libs dirs with user parameters. This is
13# used when we can't determine the tool dir at configuration time.
14try:
15    config.llvm_tools_dir = config.llvm_tools_dir % lit.params
16    config.llvm_libs_dir = config.llvm_libs_dir % lit.params
17except KeyError,e:
18    key, = e.args
19    lit.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
20
21# Let the main config do the real work.
22lit.load_config(config, "@CLANG_SOURCE_DIR@/test/lit.cfg")
23