1 ## Autogenerated by LLVM/Clang configuration.
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.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"
7 config.python_executable = "@PYTHON_EXECUTABLE@"
8 config.enable_shared = @ENABLE_SHARED@
9 config.enable_assertions = @ENABLE_ASSERTIONS@
10 config.targets_to_build = "@TARGETS_TO_BUILD@"
11 config.llvm_bindings = "@LLVM_BINDINGS@"
13 # Support substitution of the tools_dir with user parameters. This is
14 # used when we can't determine the tool dir at configuration time.
16 config.llvm_tools_dir = config.llvm_tools_dir % lit.params
19 lit.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
21 # Let the main config do the real work.
22 lit.load_config(config, "@LLVM_SOURCE_DIR@/test/lit.cfg")