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.llvm_build_mode = "@LLVM_BUILD_MODE@"
8config.clang_obj_root = "@CLANG_BINARY_DIR@"
9config.enable_shared = @ENABLE_SHARED@
10config.shlibdir = "@SHLIBDIR@"
11config.shlibpath_var = "@SHLIBPATH_VAR@"
12config.target_triple = "@TARGET_TRIPLE@"
13
14# Support substitution of the tools_dir, libs_dirs, and build_mode with user
15# parameters. This is used when we can't determine the tool dir at
16# configuration time.
17try:
18    config.llvm_tools_dir = config.llvm_tools_dir % lit.params
19    config.llvm_libs_dir = config.llvm_libs_dir % lit.params
20    config.llvm_build_mode = config.llvm_build_mode % lit.params
21except KeyError,e:
22    key, = e.args
23    lit.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
24
25# Let the main config do the real work.
26lit.load_config(config, "@CLANG_SOURCE_DIR@/test/Unit/lit.cfg")
27